ci: wait for cloud-init to finish
This commit is contained in:
parent
a49d705846
commit
5de9c50579
6
.github/workflows/e2e.yml
vendored
6
.github/workflows/e2e.yml
vendored
@ -78,8 +78,10 @@ jobs:
|
|||||||
sleep 1s
|
sleep 1s
|
||||||
done
|
done
|
||||||
|
|
||||||
ssh root@$IP "apt -o 'DPkg::Lock::Timeout=360' update"
|
ssh root@$IP "cloud-init status --wait"
|
||||||
ssh root@$IP "apt -o 'DPkg::Lock::Timeout=360' install -y podman qemu-system-x86"
|
|
||||||
|
ssh root@$IP "apt-get update"
|
||||||
|
ssh root@$IP "apt-get install -y podman qemu-system-x86"
|
||||||
|
|
||||||
ssh root@$IP "useradd --shell /bin/bash user && mkdir -p /home/user/.ssh && cp /root/.ssh/authorized_keys /home/user/.ssh/ && chown -R user:user /home/user"
|
ssh root@$IP "useradd --shell /bin/bash user && mkdir -p /home/user/.ssh && cp /root/.ssh/authorized_keys /home/user/.ssh/ && chown -R user:user /home/user"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user