Add SetKeyboardLayout action in upgrade progess

Change-Id: I6550063cfdec2aa47b79ff7c4bf3ae67c784371f
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1017514
Signed-off-by: hadong <hadong0720@gmail.com>
Fix upgrade admin password failed issue

Change-Id: Ib22596ee9d03cfcab8f97315afbe588259118c6b
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1017104
Signed-off-by: hadong <hadong0720@gmail.com>
Don't start netconsole by default

Netconsole startup fails with the default configuration. netconsole
is started by ovirt-post if configured and by defaults.Netconsole()
when configured on a running system. Don't start it in ovirt-post
if the configuration looks invalid.

Change-Id: Ib7ff7a4789bbc533f68f4aebf7ef851ddc6700b0
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=991353
Puppet plugin: patch the right file on EL6

Previously, we assumed that facter's libraries would be in
one directory, but they are not there on EL6. Patch the correct
file.

Change-Id: I1db007a1dbe07628136d2092af7ae1ad15f9588b
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Puppet plugin: fix the 'require' in operatingsystem.rb

Previously, the patch did not surround it with quotes, leading
Ruby to attempt to parse "ovirt.rb" as a variable. Quote it so it
parses as expected.

Change-Id: I4a4c4cba3f46249c9b3c87d37657f648093414f2
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1003440
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Puppet plugin: return a more explicit operatingsystem name

Previously, we merely returned 'oVirt'. Now, strip out spaces from
the parsed result in order to match the expected return from other
Puppet operating systems.

Change-Id: I73be03ef369d023bb94a33d81e6cb90e0a0f976b
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Puppet plugin: leave server and certname commented by default

Previously, we left these fields in puppet.conf, but blank. This
causes problems with parsing on EL6. Leave them commented by
default and uncomment if they are enabled.

Change-Id: I2b3450b943689b941ec35fe5722aa55bacf14480
Signed-off-by: Ryan Barry <rbarry@redhat.com>
add --shell option to edit-node

Change-Id: Ia71b39a9e90f91a84cbbdd676a58ad254a28582a
Signed-off-by: Joey Boggs <jboggs@redhat.com>
rpcbind: Make /var/cache/rpcbind writeable

Previously rpcbind raised notices about an non writebale
/var/cache/rpcbind dir.
This patch makes this dir writeable.

rhbz#949574

Change-Id: Id7e8dff8558ba92430c67b01bcbb61e2538ecfe5
Signed-off-by: Fabian Deutsch <fabiand@redhat.com>
shorten grub efi menu to under 54 characters to prevent display overlap

Signed-off-by: Joey Boggs <jboggs@redhat.com>
Bug-Url:  https://bugzilla.redaht.com/916514
Change-Id: I8399acf9b19edc716af33383be6f31625e5a5850
Disable the TUI in rescue mode

Don't let the TUI run when in rescue mode.

Change-Id: Ie1f9d6fbd944cd9c86b7ae85e031477d7184f868
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=989811
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Create buttons later in ConfirmedDialog so users can define their own

Move the call to Super() a bit lower so user-defined buttons work.
Previously, the only button added was "Close". Also, we should
default to "OK" and "Cancel" since "Close" doesn't make much sense
in this context.

Change-Id: Id648b18996b75ea335bf3e3ce16da547663c6c68
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Show a dialog before entering the rescue console

One of the things lost in the transition to the new TUI was an
indication/dialog before entering the rescue shell. Add it back.

Change-Id: I37bd24c89ba8f4272435aa846f658a0a06d5aa08
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=981142
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Install splash.xpm in the right location on iSCSI installs

Previously, we copied splash.xpm to /liveos in all cases. Put it
on the proper boot volume if it's an iSCSI install.

Change-Id: I7e027c290e9c69e1395739597097ce289f3787ac
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=924527
Signed-off-by: Ryan Barry <rbarry@redhat.com>
install:  Make find Boot disk a bit more strict

Change-Id: Ica272049fdbe3298f4dd8503239c5f64f3687b0a
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=885959
Signed-off-by: hadong <hadong0720@gmail.com>
puppet: Persist puppet.conf when it get's changed

Change-Id: Ieacb4030d0fe4100fb002f5b1db62358d1d75012
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1016386
Signed-off-by: hadong <hadong0720@gmail.com>
update syslinux detection paths

rhbz#1008377

Change-Id: I7651f9428cfcd8ec57d0ce56f3e2b1945b5829bf
Signed-off-by: Joey Boggs <jboggs@redhat.com>
Fix always use the first one of the disk list as boot disk issue

Previously ovirt node always use the first one of the disk list
on boot_device_page as boot disk
Now fix it to use the selected disk as boot disk.

Change-Id: If660cc74e213dac5aa87c5accd474a5fa8a066e7
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=981170
Signed-off-by: hadong <hadong0720@gmail.com>
set iscsi initiator name before connecting during iscsi installs

rhbz#903947

Change-Id: I387fe6a63434a56d1f3115347dd95788af329781
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
storage_vol_page:Disable accpet "0" for swap and logging partition

Change-Id: I5a9b8db4497f30a19db42ceaa455eeeec28f223b
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1012323
Signed-off-by: hadong <hadong0720@gmail.com>