On Thu, Sep 8, 2016 at 5:14 PM, Oliver Grawert <o...@ubuntu.com> wrote: > hi, > On Do, 2016-09-08 at 16:56 +0300, Simos Xenitellis wrote: >> Hi All, >> >> I tried the instructions at https://developer.ubuntu.com/en/snappy/st >> art/ >> in order to get the new Beta images at >> http://cdimage.ubuntu.com/ubuntu-snappy/16.04/current/ >> to work on locally on KVM on Linux. > > well, that will only start to work once the series 16 images are > actually released, until then the website will keep point to the > official 15.04 release indeed :) > > these images are betas ... > >> >> Two issues: >> >> 1. The command to start kvm should better be like >> >> kvm -m 512M -redir :8090::80 -redir :8022::22 -drive >> format=raw,file=ubuntu-core-16-amd64.img >> >> (instead of kvm -m 512 -redir :8090::80 -redir :8022::22 >> ubuntu-15.04-snappy-amd64-generic.img >> which causes the warning: >> >> WARNING: Image format was not specified for 'ubuntu-core-16- >> amd64.img' >> and probing guessed raw. >> Automatically detecting the format is dangerous for raw >> images, write operations on block 0 will be restricted. >> Specify the 'raw' format explicitly to remove the >> restrictions.) >> > well, nothing will ever write on block 0 i hope :) > but yeah, that is a valid concern, please file a bug ... >
"[DOC] snappy on KVM recommends cmd line that warns about RAW devices" https://bugs.launchpad.net/snappy/+bug/1622336 > >> In addition, I think it is better to specify M in "512M". > > same thing, please file bugs :) > "DOC: Snappy kvm line should have specifier for memory size " https://bugs.launchpad.net/snappy/+bug/1622342 Simos >> >> 2. Once you configure Ubuntu Core and supply your launchpad email >> address >> (required so that it can retrieve your SSH public key and install >> into >> the running image), >> it suggests to >> ssh -p 8022 myusername@10.0.2.15 >> The instructions at the Snappy Start suggest to >> ssh -p 8022 ubuntu@localhost >> (mentions that "ubuntu/ubuntu" is a hard-coded account in earlier >> Ubuntu Core images). >> >> What works with Ubuntu Core 16.04 Beta is >> ssh -p 8022 myusername@localhost >> (where "myusername" is the Launchpad username. You got it right it >> https://launchpad.net/~myusername is your personal Launchpad page). > > definitely also worth a bug report (though it might be tricky to detect > from within kvm that you are running inside kvm and conditionally > change the default message here)... > >> >> All accounts on the Ubuntu Core 16.04 Beta image are locked, so it is >> not possible to log in through the qemu log in screen straight away. > > this is on purpose ... (you can indeed log in via ssh and use "passwd" > to set a password for the account) > > ... >> > Enjoy the fresh images! If you find any bugs or issues, please let >> > us >> > know via: >> > >> > https://bugs.launchpad.net/snappy/ >> > >> > Cheers, >> > Michael (on behalf of the snappy team) >> > > > ciao > oli -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss