Hi All,

I tried the instructions at https://developer.ubuntu.com/en/snappy/start/
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.

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.)

In addition, I think it is better to specify M in "512M".

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).

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.

Simos

On Thu, Sep 8, 2016 at 1:46 PM, Oliver Grawert <o...@ubuntu.com> wrote:
> hi,
>
> this is a big milestone that is worth to be announced to a wider
> audience ;)
>
> ciao
>         oli
>
> ---------- Forwarded message ----------
> From: Michael Vogt <michael.v...@canonical.com>
> To: snapcr...@lists.snapcraft.io
> Cc:
> Date: Wed, 7 Sep 2016 23:50:54 +0200
> Subject: Ubuntu Core 16 beta images available
> Ubuntu Core 16 Images
> =====================
>
> The Ubuntu snappy team is happy to announce the first beta images for
> Ubuntu Core 16.  The images use the snapd package manager to install
> and update all components of the system including kernel, core, gadget
> and applications.
>
> The images are available for PC (amd64, i386) and Raspberry Pi2
> (armhf). More architectures and boards (arm64 dragonboard, pi3) will
> follow shortly. You can download them at:
>
>     http://cdimage.ubuntu.com/ubuntu-snappy/16.04/current/
>
> The images are bootable, the pc image can be booted directly in
> qemu-kvm or virtualenv. The pi2 image can be written to a sdcard via:
>
>     unxz ubuntu-core-16-pc.img.xz
>     dd if= ubuntu-core-16-pc.img of=/dev/sdXX
>
> Where /dev/sdXX is the path of your sd card.
>
> After booting the image you can enter your Ubuntu SSO email and it
> will automatically create a matching user with the right ssh keys. If
> you do not have an Ubuntu SSO account yet you can create one at:
>
>     https://login.ubuntu.com/
>
> These images follow the "beta" channel.
>
> 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)
>
>
>
> --
> Snapcraft mailing list
> snapcr...@lists.snapcraft.io
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/snapcraft
>
> --
> 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
>

-- 
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

Reply via email to