You can install this distro in your appliance.
Note: We recommend creating a separate partition for /usr volume to allow you to move the volume later. This allows you to create a volume that is read-only and shared between appliance instances as well as conserve disc space. You must verify that the distro that you are installing supports the separation. If you create multiple partitions and do not separate later, some filesystem counters will not report correctly.
Follow these steps:
util iso2class app_name=CentOS63_i386 install_size=5G console_type=graphic iso_volume1=CentOS-6.3-i386-bin-DVD1.iso os=linux virt_mode=xen_pv,xen_hvm cpu=0.5 mem=1.5G bw=1M
The following prompt displays:
When you have finished installing from iso_volume1 and are ready to reboot so that remaining volume(s) become available, press [Enter]
The CentOS installation wizard displays.
A screen appears to create and set up the partitions.
The next screen in the wizard appears.
Your system reboots.
The following prompt still appears:
When you have finished installing from iso_volume1 and are ready to reboot so that remaining volume(s) become available, press [Enter]
The following prompt appears:
When you have finished with the installation, press [Enter] to continue
A prompt appears to specify whether to install msi/APK.
A prompt appears to specify whether to call hvm2pv now.
You now should have a CentOS 6.3 application named CentOS63_i386 running.
app stop CentOS63_i386
util hvm2pv name=CentOS63_i386:main.iso2class
The following prompt appears:
Is the pre-requisite software installed?
An OS confirmation prompt appears.
A prompt appears to set up a new root password.
Note: If you change the root password at this point, you will not be able to log into your appliance due to SELinux policies. You can set up a new password later.
A prompt appears to press any key when ready.
A prompt appears to delete the original boot volume.
You now have the managed CentOS 6.3 i386 appliance capable of booting in HVM and PV modes.
[ -z "`grep ttyS0 /etc/securetty`" ] && echo 'ttyS0' >> /etc/securetty cat > /etc/init/ttyS0.conf <<END stop on runlevel [S016] start on runlevel [23] respawn exec agetty -h -L -w /dev/ttyS0 115200 vt102 END
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|