From 51bf52c1dc48314096109925d05dc8880904aab0 Mon Sep 17 00:00:00 2001 From: Stephan Reinwald Date: Tue, 21 Jan 2025 14:37:03 +0100 Subject: [PATCH] curling --- autoconfig.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autoconfig.yaml b/autoconfig.yaml index 52408ce..72ef54f 100644 --- a/autoconfig.yaml +++ b/autoconfig.yaml @@ -32,10 +32,10 @@ autoinstall: shutdown: reboot late-commands: - curl -m 10 --retry 5 http://23.88.102.139:8000/ping/07bf78a8-67c5-4ffb-834d-e9dc660b162a - - curtin in-target curl -o /etc/systemd/system/hello_world.service http://23.88.102.139/gitea/sre/ld-install/raw/branch/main/files/hello_world.service - - curtin in-target chmod +x /etc/systemd/system/hello_world.service - - curtin in-target curl -o /root/hello_world.sh http://23.88.102.139/gitea/sre/ld-install/raw/branch/main/files/hello_world.sh - - curtin in-target chmod +x /root/hello_world.sh + - url -o /target/etc/systemd/system/hello_world.service http://23.88.102.139/gitea/sre/ld-install/raw/branch/main/files/hello_world.service + - 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 user-data: hostname: ldhost chpasswd: