These are the two commits that needs to be pulled in from Upstream master. ========== commit 0dcb1aa5dafa97d5c7a2e894a4d8733437f46ed9 Author: Chris Lalancette <clalancette> Date: Wed May 22 20:18:05 2013 -0400 Re-enable serial consoles on the libvirt XML. Signed-off-by: Chris Lalancette <clalancette> ========== commit b21122458a931fd4835877f867c004fb4df6138d Author: Chris Lalancette <clalancette> Date: Tue May 21 23:13:49 2013 -0400 Add the serial console back to Fedora kickstarts. Signed-off-by: Chris Lalancette <clalancette> ========== Notes: The above patches enable serial console by default. Meaning once Oz install is finished, and the XML file is defined, one can directly connect to the guest using virsh start oz-guest1 --console
Test detail: ------------ A script -- https://github.com/kashyapc/virt-scripts/blob/master/oz/oz-jeos.bash $ ./oz-jeos.bash Usage: ./oz-create.bash <guest-name> <distro> 'distro': f18, rhel6 Examples: oz-jeos.bash f18-t1 f18 # create f18 oz-jeos.bash rhel6x-t1 rhel6 # create latest rhel6.x Once install is done, define the libvirt XML for the guest. Assuming you gave the name of it as 'rhel63-tbox1': virsh define rhel64-test1May_15_2013-15:29:50 List all the guests: virsh list --all Start it: virsh start rhel64-test1 Connect to it via serial console: virsh console rhel64-test1 Oz notes ~~~~~~~~ Oz uses something called TDL (template descriptive language). An example TDL file: ------------------ <template> <name>rhel64-tbox1</name> <os> <name>RHEL-6</name> <version>4</version> <arch>x86_64</arch> <install type='url'> <url>http://foo.bar.redhat.com/pub/rhel/released/RHEL-6/6.4/Server/x86_64/os</url> </install> <rootpw>testpwd</rootpw> </os> <description>RHEL 6.4 </description> </template> ------------------ If you want to manually try it, you can dump the above contents into 'rhel63.tdl' in the current directory, and do: $ oz-install ./rhel64.tdl root password is defined in the TDL above as "testpwd" NOTE: In the above tdl file, replace the <url> with path to an appropriate tree. For more information, do: man oz-examples
Too late for 4.0, target 4.0.z
tested on: oz-0.11.0-2.el6.noarch Ran the commands: ./oz-jeos F19 f19 virsh define F19Dec_18_2013-12\:06\:33 virsh list --all virsh start F19 virsh console F19 ... and log in with 'root' and a password 'redhat'
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1859.html