Hi,
What is the best way to create new virtualized machine under OpenSolaris?
This is my environment:
# cat /etc/release
Solaris Express Community Edition snv_73 X86
Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 12 September 2007
I use the latest snapshot from
http://dlc.sun.com/osol/on/downloads/20071001/
# uname -srvmi
SunOS 5.11 opensol-20071001 i86pc i86xpv
# isainfo -v
64-bit amd64 applications
ahf cx16 sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx
cmov cx8
tsc fpu
32-bit i386 applications
ahf cx16 sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx
cmov cx8
tsc fpu
# prtconf -v | grep Mem
Memory size: 1853 Megabytes
# xm list
Name ID Mem VCPUs State
Time(s)
Domain-0 0 1853 2 r----- 122.0
I am getting following errors:
# virt-install
Would you like a fully virtualized guest (yes or no)? This will allow
you to run unmodified operating systems. yes
What is the name of your virtual machine? vm1
How much RAM should be allocated (in megabytes)? 300
What would you like to use as the disk (path)? /xen/vm1
How large would you like the disk (/xen/vm1) to be (in gigabytes)? 3
Would you like to enable graphics support? (yes or no) yes
What would you like to use for the virtual CD image?
/mnt/isos/sol10u4_dvd/sol-10-u4-ga-x86-dvd.iso
Starting install...
Creating storage file... 100% |=========================| 3.0 GB
00:00
Traceback (most recent call last):
File "/usr/bin/virt-install", line 646, in ?
main()
File "/usr/bin/virt-install", line 595, in main
dom = guest.start_install(conscb,progresscb)
File
"/disk3/jhd/xg-virtinst/proto/install/lib/python2.4/site-packages/virtinst/Guest.py",
line 627, in start_install
File
"/disk3/jhd/xg-virtinst/proto/install/lib/python2.4/site-packages/virtinst/Guest.py",
line 641, in _do_install
File
"/disk3/jhd/xg-virtinst/proto/install/lib/python2.4/site-packages/virtinst/Guest.py",
line 592, in get_config_xml
File
"/disk3/jhd/xg-virtinst/proto/install/lib/python2.4/site-packages/virtinst/FullVirtGuest.py",
line 209, in _get_device_xml
File
"/disk3/jhd/xg-virtinst/proto/install/lib/python2.4/site-packages/virtinst/Guest.py",
line 575, in _get_device_xml
File
"/disk3/jhd/xg-virtinst/proto/install/lib/python2.4/site-packages/virtinst/FullVirtGuest.py",
line 294, in _get_disk_xml
NameError: global name ''VirtualDisk'' is not defined
How can I fix it?
Regards
--
Piotr Jasiukajtis | estibi | SCA OS0072
http://estseg.blogspot.com
.-. .-. . .
| |.-..-,.-.`-..-.| .-. .-...-
`-''|-''`''-''
''`-''`-''''-`-`-''
''-''