From bd2a16a1ffb3602d43d1b3bd9aa31c861601cbe3 Mon Sep 17 00:00:00 2001 From: Stephan Reinwald Date: Tue, 21 Jan 2025 15:00:07 +0100 Subject: [PATCH] enable service --- autoconfig.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autoconfig.yaml b/autoconfig.yaml index 9d1b56b..477d46f 100644 --- a/autoconfig.yaml +++ b/autoconfig.yaml @@ -36,6 +36,8 @@ autoinstall: - chmod +x /target/etc/systemd/system/hello_world.service - curl -o /target/root/hello_world.sh http://23.88.102.139/gitea/sre/ld-install/raw/branch/main/files/hello_world.sh - chmod +x /target/root/hello_world.sh + - curtin in-target -- systemctl daemon-reload + - curtin in-target -- systemctl enable hello_world.sh user-data: hostname: ldhost chpasswd: