File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ resource "proxmox_virtual_environment_file" "cloud_config" {
28
28
- systemctl start qemu-guest-agent
29
29
- curl -fsSL https://get.docker.com | sudo sh
30
30
- su - mafyuh -c 'git clone https://git.mafyuh.dev/mafyuh/iac.git /home/mafyuh/iac'
31
+ - su - mafyuh -c 'git config --global user.name "Mafyuh"'
32
+ - su - mafyuh -c 'git config --global user.email "matt@mafyuh.com"'
33
+ - su - mafyuh -c 'echo "alias dcu=\'docker compose up -d\'" >> /home/mafyuh/.bashrc
34
+ - su - mafyuh -c 'echo "alias dcd=\'docker compose down\'" >> /home/mafyuh/.bashrc
31
35
- echo "done" > /tmp/cloud-config.done
32
36
EOF
33
37
@@ -63,6 +67,8 @@ resource "proxmox_virtual_environment_file" "cloud_config2" {
63
67
- su - mafyuh -c 'git clone https://git.mafyuh.dev/mafyuh/iac.git /home/mafyuh/iac'
64
68
- su - mafyuh -c 'git config --global user.name "Mafyuh"'
65
69
- su - mafyuh -c 'git config --global user.email "matt@mafyuh.com"'
70
+ - su - mafyuh -c 'echo "alias dcu=\'docker compose up -d\'" >> /home/mafyuh/.bashrc
71
+ - su - mafyuh -c 'echo "alias dcd=\'docker compose down\'" >> /home/mafyuh/.bashrc
66
72
- echo "done" > /tmp/cloud-config.done
67
73
EOF
68
74
You can’t perform that action at this time.
0 commit comments