Add setup root users implementation

install-scripts
trivernis 2 years ago
parent e348549800
commit 622f28dfbc
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: DFFFCC2C7A02DB45

@ -26,7 +26,7 @@ def main [cfg] {
create_hosts
if $cfg.ipv6_loopback {
create_ipv6_loopback
create_ipv6_loopback
}
info "Configured network"

@ -1,6 +1,7 @@
let RUN_IN_CHROOT = true;
# Applies all system changes of `setup-root-user`
def main [cfg] {
echo "Executing up task `setup-root-user` with config" $cfg
todo "Implement setup-root-user"
debug $"Setting up root password ($cfg)"
run usermod --password $cfg.password root
info "Configured root user"
}

Loading…
Cancel
Save