Update terraform/cloud-init.tf
This commit is contained in:
parent
2ccdcc442b
commit
76c01be260
1 changed files with 6 additions and 0 deletions
|
@ -28,6 +28,10 @@ resource "proxmox_virtual_environment_file" "cloud_config" {
|
||||||
- systemctl start qemu-guest-agent
|
- systemctl start qemu-guest-agent
|
||||||
- curl -fsSL https://get.docker.com | sudo sh
|
- curl -fsSL https://get.docker.com | sudo sh
|
||||||
- su - mafyuh -c 'git clone https://git.mafyuh.dev/mafyuh/iac.git /home/mafyuh/iac'
|
- su - mafyuh -c 'git clone https://git.mafyuh.dev/mafyuh/iac.git /home/mafyuh/iac'
|
||||||
|
- su - mafyuh -c 'git config --global user.name "Mafyuh"'
|
||||||
|
- su - mafyuh -c 'git config --global user.email "matt@mafyuh.com"'
|
||||||
|
- su - mafyuh -c 'echo "alias dcu=\'docker compose up -d\'" >> /home/mafyuh/.bashrc
|
||||||
|
- su - mafyuh -c 'echo "alias dcd=\'docker compose down\'" >> /home/mafyuh/.bashrc
|
||||||
- echo "done" > /tmp/cloud-config.done
|
- echo "done" > /tmp/cloud-config.done
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
@ -63,6 +67,8 @@ resource "proxmox_virtual_environment_file" "cloud_config2" {
|
||||||
- su - mafyuh -c 'git clone https://git.mafyuh.dev/mafyuh/iac.git /home/mafyuh/iac'
|
- su - mafyuh -c 'git clone https://git.mafyuh.dev/mafyuh/iac.git /home/mafyuh/iac'
|
||||||
- su - mafyuh -c 'git config --global user.name "Mafyuh"'
|
- su - mafyuh -c 'git config --global user.name "Mafyuh"'
|
||||||
- su - mafyuh -c 'git config --global user.email "matt@mafyuh.com"'
|
- su - mafyuh -c 'git config --global user.email "matt@mafyuh.com"'
|
||||||
|
- su - mafyuh -c 'echo "alias dcu=\'docker compose up -d\'" >> /home/mafyuh/.bashrc
|
||||||
|
- su - mafyuh -c 'echo "alias dcd=\'docker compose down\'" >> /home/mafyuh/.bashrc
|
||||||
- echo "done" > /tmp/cloud-config.done
|
- echo "done" > /tmp/cloud-config.done
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue