Add setup root users implementation
parent
e348549800
commit
622f28dfbc
@ -1,6 +1,7 @@
|
|||||||
let RUN_IN_CHROOT = true;
|
let RUN_IN_CHROOT = true;
|
||||||
# Applies all system changes of `setup-root-user`
|
# Applies all system changes of `setup-root-user`
|
||||||
def main [cfg] {
|
def main [cfg] {
|
||||||
echo "Executing up task `setup-root-user` with config" $cfg
|
debug $"Setting up root password ($cfg)"
|
||||||
todo "Implement setup-root-user"
|
run usermod --password $cfg.password root
|
||||||
|
info "Configured root user"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue