recordding firstrun.sh and setup-compse.yaml

This commit is contained in:
Ryan Toler
2026-03-06 06:57:32 +00:00
parent 44b8d22e2e
commit 82ddaf2fa8
3 changed files with 59 additions and 119 deletions

8
firstrun.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# This script is stored in the template and is executed the first time a new container boots. |
# Setup-lxc should contain all basic setup requirements needed
# ie
# docker setup, docker-compose install
# restic restore from misamisa
ansible-pull --clean --vault-password-file ./vault.pass --private-key ~/.ssh/github_ro -U git@github.com:tolerryan/Watari-Ansible.git playbooks/setup-lxc.yaml
systemctl disable firstrun.service