Skip to content

Commit 76c01be

Browse files
author
mafyuh
committedAug 1, 2024
Update terraform/cloud-init.tf
1 parent 2ccdcc4 commit 76c01be

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎terraform/cloud-init.tf

+6
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ resource "proxmox_virtual_environment_file" "cloud_config" {
2828
- systemctl start qemu-guest-agent
2929
- curl -fsSL https://get.docker.com | sudo sh
3030
- 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
3135
- echo "done" > /tmp/cloud-config.done
3236
EOF
3337

@@ -63,6 +67,8 @@ resource "proxmox_virtual_environment_file" "cloud_config2" {
6367
- su - mafyuh -c 'git clone https://git.mafyuh.dev/mafyuh/iac.git /home/mafyuh/iac'
6468
- su - mafyuh -c 'git config --global user.name "Mafyuh"'
6569
- 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
6672
- echo "done" > /tmp/cloud-config.done
6773
EOF
6874

0 commit comments

Comments
 (0)
Please sign in to comment.