Skip to content

Commit 155bee2

Browse files
committed
Enable image download
1 parent 6bd220e commit 155bee2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ami/scripts/shared/docker.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ blacklist sctp
4040
EOF
4141

4242
# Configure grub
43-
echo "GRUB_GFXPAYLOAD_LINUX=keep" >> /etc/default/grub
43+
# echo "GRUB_GFXPAYLOAD_LINUX=keep" >> /etc/default/grub
4444
# Enable cgroups2
45-
sed -i 's/GRUB_CMDLINE_LINUX="\(.*\)"/GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=1 cgroup_no_v1=all \1"/g' /etc/default/grub
46-
update-grub2
45+
# sed -i 's/GRUB_CMDLINE_LINUX="\(.*\)"/GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=1 cgroup_no_v1=all \1"/g' /etc/default/grub
46+
# update-grub2
4747

4848
# Install containerd
4949
curl -sSL https://github.com/containerd/nerdctl/releases/download/v0.11.1/nerdctl-full-0.11.1-linux-amd64.tar.gz -o - | tar -xz -C /usr/local
@@ -72,8 +72,8 @@ systemctl enable stargz-snapshotter
7272
systemctl start containerd
7373

7474
# Prepare images airgap tgz
75-
#chmod +x /etc/packer/files/gitpod/airgap.sh
76-
#/etc/packer/files/gitpod/airgap.sh
75+
chmod +x /etc/packer/files/gitpod/airgap.sh
76+
/etc/packer/files/gitpod/airgap.sh
7777

7878
sleep 60
7979
systemctl stop containerd

0 commit comments

Comments
 (0)