diff --git a/dist/index.js b/dist/index.js index 0558781..f59f494 100644 --- a/dist/index.js +++ b/dist/index.js @@ -31125,7 +31125,7 @@ function setup_sshkey(pubkey, qemu_process, ready_callback) { qemu_process.stdin.write("echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config\n"); qemu_process.stdin.write(`cat > /root/.ssh/authorized_keys <<<"${pubkeyContent}"\n`); qemu_process.stdin.write(`cat /root/.ssh/authorized_keys`); - }, 3000); + }, 10000); setTimeout(() => { ready_callback(qemu_process) }, 2000); // let waitForKey = (() => { // let concat = '' diff --git a/index.js b/index.js index 964db07..d69076d 100644 --- a/index.js +++ b/index.js @@ -235,7 +235,7 @@ function setup_sshkey(pubkey, qemu_process, ready_callback) { qemu_process.stdin.write("echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config\n"); qemu_process.stdin.write(`cat > /root/.ssh/authorized_keys <<<"${pubkeyContent}"\n`); qemu_process.stdin.write(`cat /root/.ssh/authorized_keys`); - }, 3000); + }, 10000); setTimeout(() => { ready_callback(qemu_process) }, 2000); // let waitForKey = (() => { // let concat = ''