From 34625d6332ef31d096a158c62d4561852a87eacb Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Thu, 5 May 2022 21:23:18 +0200 Subject: Add script/instructions how to launch and connect to built image Signed-off-by: Jan-Simon Moeller Change-Id: I3571c644e8f9df3c88282a94dc675224eca678d8 --- packer/start_local_packer.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 packer/start_local_packer.sh (limited to 'packer') diff --git a/packer/start_local_packer.sh b/packer/start_local_packer.sh new file mode 100755 index 00000000..20e3ef22 --- /dev/null +++ b/packer/start_local_packer.sh @@ -0,0 +1,11 @@ +#!/bin/bash + + +# + +echo "Run: dpkg-reconfigure openssh-server" +echo "Fixup /etc/ssh/sshd_config" +echo "Run: ssh -R HOST:2222:localhost:22 user@10.0.2.2" +echo "Then connect to HOST:2222 with ssh" + +qemu-system-x86_64 -vnc :0 -hda output_ubuntu/jenkins-new-test -net nic -net user -serial stdio -accel kvm -smp 2 -m 4096 \ No newline at end of file -- cgit 1.2.3-korg