diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2022-05-05 21:23:18 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2022-05-05 21:23:18 +0200 |
commit | 34625d6332ef31d096a158c62d4561852a87eacb (patch) | |
tree | b95794d34c9bf50d15c85a12c0a675858fbd9294 | |
parent | 0f52b95f46318e44e8ed8a7b8fcb660495a86935 (diff) |
Add script/instructions how to launch and connect to built image
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I3571c644e8f9df3c88282a94dc675224eca678d8
-rwxr-xr-x | packer/start_local_packer.sh | 11 |
1 files changed, 11 insertions, 0 deletions
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 |