Hello Team,

a small fix to my previous post:

> I managed to run autopkgtest through ssh to a Virtualbox VM.
> 
> Steps:
> 
> Set up an minimal VM by selecting ssh server from debian installer
> with
> user testbed and password xxxxxx where testbed is capable to sudo.
> 
> Copy your local ~/.ssh/id_rsa.pub to
> /home/testbed/.ssh/authorizes_keys
> on the VM.
> 
> You should now be able to ssh into the VM, details depend on your
> virtual network configuration. In my enviroment a simple 'ssh sid'
> does
> the job. By testing this your local enviroment learns the VM's host
> key.
> 
> A this point you may want to take a snapshot of the VM to rollback
> to 
> after a test.
> 
> You then can run autopkgtest by:

autopkgtest arno-iptables-firewall_2.0.3-1_amd64.changes -- ssh
--capability=isolation-machine --capability=root-on-testbed
-l testbed -P xxxxxx -H sid

> As Aleksey mentioned in his latest post running the test blocks the
> VM's ssh port in the end. Fortunately the firewall does not block
> already established connections, so the test performs flawlessy.
> 
> After each autopkgtest the testbed needs to be restored, by rolling
> back the VM to the snapshot you took before, or by executing 'sudo
> dpkg
> --purge arno-iptables-firewall' on the VM's console.
> 
> Best,
> Sven

Reply via email to