[utah-devel] UTAH Features
Max Brustkern
max.brustkern at canonical.com
Tue Sep 4 20:05:58 UTC 2012
On 09/04/2012 12:30 PM, James Page wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 04/09/12 17:17, Max Brustkern wrote:
>>> Hi Guys
>>>
>>> Looking through my session notes from UDS-Q I've spotted a few
>>> work items related to UTAH features:
>>>
>>> 1) USB Installation Support
>> This definitely seems worth supporting, we'll just have to figure
>> out how to do it in libvirt. Right now we support virtio, sata, or
>> ide as the diskbus for a disk, and if it's as easy as just changing
>> that option, then we can have support very quickly.
> Probably - you might also be able todo it with the CustomVM class as well.
>
>>> 2) Multi-NIC Support
>>>
>> The CustomVM class actually has support for this. If you pass a VM
>> XML definition file with multiple interfaces, it will rewrite them
>> all to have random mac addresses. The class supports specifying a
>> list of mac addresses to use for the interfaces, but the frontend
>> script doesn't currently have a way to pass that in. If you want
>> that, I can add it very quickly, but even without any changes, we
>> should support an arbitrary number of NICs, we'll just be using
>> random mac addresses for them.
> That would be great - yes please. I don't really care about the mac
> addresses - just having more that one would be greate!
>
> Cheers
>
> James
>
>
> - --
> James Page
> Ubuntu Core Developer
> Debian Maintainer
> james.page at ubuntu.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJQRiy8AAoJEL/srsug59jDT8wQANGJsukFp+lkWf+2eaoNLqSF
> bto49MPUklybERUa0Yztz67DOoZKzd1uzjv3WCZSrUwcHzVVUP6fA31cYTR/bNcl
> 4W+W4lpYgFcTfnfUL8UWWonUBp+hmgZfmui8r6NwzpGMj9t6Tnz3j9KJYlB/Q4sV
> qJeagfF/rJpa3ezxIpDJppTv3M0mH5JXJA7cAVbpL3M99F9C/y8v/pJbQ7VSjSY3
> UV0IuHbR02AkzFP7sS9MQszMEtisicd9HFPQGSF84Q6Iq4x6S9jS+sJdkcpFtaQa
> ApGFcBE5ugg/o5QyUazYKwxcQjHjKEvQeLYv7XJFEEvpwKeZReC4/wuep5Hh/R+J
> YsYq2C/uvyJD/0f2rPmjaGNtOLBP7aIvKayaMF1L8rfHyp4vPQ8QviwvL7uimXsa
> ceSP30BQzL4Y4wtUhglCyqkqFPZaDeyMdzEfyz7VCtP26rHgr48NYlCXouS1ChZ5
> +kfNWYPwnkE2kGjuzmSJjDQ6HpBSyfvdtMCAzUbsFRvFNdToJ1e4SZCK0PIXteAH
> TXLvDXHEaxKhqSoxKvkAs9gsIzkAxlBsq73fLj0fA2DinwfDlTI3xUM2j068Nhau
> 8B52ChiQWcwJXE+T7pj7ph/Oyl5W/gPxylQzD5v8Qy9j28SWAWd/7vTRpeNp+gT0
> lZ4AgMk7gd+Cl/lYiOay
> =rQZc
> -----END PGP SIGNATURE-----
>
I've attached a sample VM XML file that you can try. It includes two
network interfaces, and sets the cdrom device to present as a usb device
on sda. It doesn't look like it's currently working on the precise
desktop image, so we may need to make some tweaks. It does work on the
alternate image, however. This is also just me using a CD ISO and
telling libvirt it's a USB disk, so maybe desktop will work with an
actual USB disk. In any case, both of these things can be handled by
customizing the VM XML passed to the current code. If we need more
options for them, I can work on integrating those.
Max
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample-vm.xml
Type: text/xml
Size: 1796 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-utah-devel/attachments/20120904/dafb074d/attachment.xml>
More information about the Ubuntu-utah-devel
mailing list