From 40d06ed7d1bcaafba45c08bd9db7a61fc8e53d64 Mon Sep 17 00:00:00 2001 From: PawelDopierala Date: Wed, 27 Nov 2024 12:28:37 +0100 Subject: [PATCH] update --- 3_2.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/3_2.py b/3_2.py index 35df481..c0c1628 100644 --- a/3_2.py +++ b/3_2.py @@ -148,10 +148,6 @@ runcmd: - chmod +x /usr/local/bin/docker-compose - systemctl start docker - systemctl enable docker - - mkfs.ext4 -F /dev/disk/by-id/scsi-0HC_Volume_{volume_id} - - mkdir /mnt/{PREFIX}-gitea-volume - - mount -o discard,defaults /dev/disk/by-id/scsi-0HC_Volume_{volume_id} /mnt/{PREFIX}-gitea-volume - - echo "/dev/disk/by-id/scsi-0HC_Volume_{volume_id} /mnt/{PREFIX}-gitea-volume ext4 discard,nofail,defaults 0 0" >> /etc/fstab - cd /root/ && docker-compose up -d ''' gitea_server = client.servers.create(