We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e81fbea commit 5fccfe2Copy full SHA for 5fccfe2
pkg/vfkit/ignition.go
@@ -30,7 +30,7 @@ func cmd(opt *cli.Context) (string, error) {
30
31
mount := fmt.Sprintf("echo -e %s >> /mnt/overlay/etc/fstab", fstab)
32
authorizedKeys := fmt.Sprintf("mkdir -p /mnt/overlay/root/.ssh; echo %s >> /mnt/overlay/root/.ssh/authorized_keys", opt.SSHPublicKey)
33
- ready := fmt.Sprintf("echo -e \"date -s @%d;\\\\necho Ready | socat - VSOCK-CONNECT:2:1026\" > /mnt/overlay/opt/ready.command", time.Now().Unix())
+ ready := fmt.Sprintf("echo -e \"date -s @%d;\\\\necho Ready | socat -v -d -d - VSOCK-CONNECT:2:1026\" > /mnt/overlay/opt/ready.command", time.Now().Unix())
34
35
return fmt.Sprintf("%s; %s; %s; %s", mount, authorizedKeys, ready, tz), nil
36
}
0 commit comments