hello world

This commit is contained in:
Stephan Reinwald
2025-01-21 14:20:46 +01:00
parent e1af78b86a
commit b33d9f8af0
3 changed files with 19 additions and 5 deletions

View File

@@ -32,11 +32,10 @@ autoinstall:
shutdown: reboot
late-commands:
- curl -m 10 --retry 5 http://23.88.102.139:8000/ping/07bf78a8-67c5-4ffb-834d-e9dc660b162a
ansible:
install_method: pip
pull:
url: http://23.88.102.139/gitea/sre/ld-install.git
playbook_name: ld-install.yaml
- curtin in-target curl -o /target/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 /target/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
user-data:
hostname: ldhost
chpasswd: