Posted 2013-05-08 00:08 by Joe
create-empty-system.pl
Creates a new empty virtual system of some type
This command creates a new system that is initially empty, but can be setup by installing an operating system from a CD. The required parameters are :
--host hostname A short hostname for the system to create,
which will also be used as the Xen or VServers instance name.
--desc description A human-readable name for the system,
which you will typically have to quote.
--type code The virtualization type code,
like ''xen'' ,
''zones'' or ''vservers''
The CD image to install from can either be specified with the --imagefile flag followed by a filename on the host system,
or the --image flag followed by the ID of a system image in ISO format.
Once creation completes, you will need to use the Graphical Console page in the Cloudmin UI to complete the installation process.
Example usage
cloudmin create-empty-system.pl --type xen --host functest --desc 'Empty host' --xen-disksize 1024 --image xen-lenny-cd Copying CD image file to host system sentosa.home .. .. already in host cache Starting creation of empty Xen system .. .. creation started Waiting for creation to complete .. .. creation complete Adding DNS entry functest.home. for IP address 193.9.101.60 .. .. done Configuring Xen instance for VNC console access .. .. added on dynamic port Starting up new Xen instance .. .. failed to start : Xen instance was started, but could not be accessed via SSH after 60 seconds Refreshing status .. .. done (noping) Enabling at hosting system boot .. .. done Creation of empty Xen system functest.home is complete
Command Line Help
Creates a new empty virtual system of some type.
cloudmin create-empty-system --host name
--type kvm
[--desc "system description"]
[--image id | --imagefile path]
[--id number]
[--disk-directory dir]
[--owner name]
