File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -4,27 +4,7 @@ exec > /var/log/user-data-debug.log 2>&1
44
55echo " User data script started"
66
7- # Wait for snapd service to be active
8- while ! systemctl is-active --quiet snapd; do
9- echo " Waiting for snapd to start..."
10- sleep 5
11- done
127
13- echo " Snapd is now running"
14-
15- whoami >> /var/log/user-data-whoami.log
16- snap refresh snapd
17- echo " snap refreshed"
18- snap install docker;
19- echo " docker installed" ;
20-
21- # Wait for Snapd to initialize Docker (give it a few seconds)
22- while ! systemctl is-active --quiet snap.docker.dockerd.service; do
23- echo " Waiting for Docker service to start..."
24- sleep 5
25- done
26- sleep 5
27- echo " Docker is now running"
288
299docker pull --platform=linux/amd64 ${github_image_url} :${image_tag} ;
3010echo " docker pulled" ;
You can’t perform that action at this time.
0 commit comments