[DOC] snappy on KVM recommends cmd line that warns about RAW devices

Bug #1622336 reported by Simos Xenitellis 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Fix Released
Undecided
Unassigned

Bug Description

The documentation at
https://developer.ubuntu.com/en/snappy/start/

mentions

Now you can launch this virtual machine with KVM:

$ kvm -m 512 -redir :8090::80 -redir :8022::22 ubuntu-15.04-snappy-amd64-generic.img

However, this command line produces 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.)"

The solution is to adapt the command line, as follows:

kvm -m 512M -redir :8090::80 -redir :8022::22 -drive format=raw,file=ubuntu-core-16-amd64.img

Revision history for this message
John Lenton (chipaca) wrote :

Instructions on https://ubuntu.com/download/iot/kvm no longer have this issue.

Changed in snappy:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.