storage: Fix NFSv4 Domain setting

Previously removing the NFSv4 domain failed. This is now fixed by
propperly updating the config file.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=960833
Change-Id: I8f58418e4db31f67d4a1e859a736e37508c8322e
Signed-off-by: Fabian Deutsch <fabiand@redhat.com>
Record corret logging info for cim password during autoinstall

Change-Id: Ibbca4406d43dd52d5d62f0c6bd412d04311c533c
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1056398
Signed-off-by: hadong <hadong@redhat.com>
Add Puppet().clear() in disable_puppet()

Add Puppet().clear() in disable_puppet() to remove configuration info for
puppet server/certificate name from /etc/default/ovirt when disable puppet.

Change-Id: I8647d238eb68bf02bdbf339a3a1a512a4e353b28
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1051722
Signed-off-by: hadong <hadong@redhat.com>
persist "/var/lib/puppet" in enable_puppet

Change-Id: Ie203a454011bbb50315351d97389569e2314afc7
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1055140
Signed-off-by: hadong <hadong@redhat.com>
fix nfs kdump on iscsi root

rhbz#885960

Change-Id: I2bc1e20059e1fd668ff9dcd0353e6eff8fe6b329
Signed-off-by: Fabian Deutsch <fabiand@redhat.com>
*REALLY* catch ctrl+c during kdump configuration

Catch every SIGINT until the configuration is reset so users
hammering on CTRL+C don't kill the application.

Change-Id: I07f643087ac8237b11f759617ef3481520a0ec5d
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1053415
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Hooks should work in ovirt-node-upgrade

os.path.join() discards previous entries if one starts with /.
Previously, ovirt-node-upgrade tried to run all hooks from the
running image and not the one being upgraded to. It should run
from the chroot instead.

Change-Id: I0627d89165002a33ea060b4be2bc03282854bcc3
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Add new python_lib path into sys.path before reload install module

Change-Id: I66ec03ef530c9b95eae968b7d6d93adceab404f4
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1052875
Signed-off-by: hadong <hadong@redhat.com>
Signed-off-by: Fabian Deutsch <fabiand@redhat.com>
installer: Match Firmware size + label

Change-Id: I1784aa429b0ad4dd110e8a4715a9f200d1af0722
Signed-off-by: Fabian Deutsch <fabiand@redhat.com>
Fix convert_to_biosdevname raises exception issue

Change-Id: I0e26f4ff33c8dcf05f6f9fd672ea288668397299
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1047489
Signed-off-by: hadong <hadong@redhat.com>
Clear password.info text when giving new password

Change-Id: I4a888e96bb6822912bd97fe81de85f43587d51eb
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1018448
Signed-off-by: hadong <hadong0720@gmail.com>
Fix typo in the restart prompt

Add a space after the comma.

Change-Id: Ica4bae7df21caf22ef839d91885976aa2e4e97a2
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1061406
Signed-off-by: Ryan Barry <rbarry@redhat.com>
installer: Data disk initially same as boot disk

Previously the first enumerated disk was the default on the installation
device page.
To behave like the old installer, now the installation disk is initially
set to be the same disk as the boot disk.

Change-Id: I961b736385876cf8c17f30eadea053ae58435f73
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1062249
Signed-off-by: Fabian Deutsch <fabiand@redhat.com>
installer: Fix installation device selection

Missed something in the last patch

Change-Id: I57a863dcdbf4644360cf89b30d53d344a93a5010
Signed-off-by: Fabian Deutsch <fabiand@redhat.com>
utils: Fix File.sub()

There are mutliline differences between python 2.6 and 2.7. To have the
same behavior, the sub() is now executed on each line - not on the whole
contents.

Change-Id: Icce28f96c4af490dc5ade9b09699e753c9d898dd
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=960833
Signed-off-by: Fabian Deutsch <fabiand@redhat.com>
installer: Fix upgrade regression

Change-Id: I1f2ff8ed06a096f85afc3b9f1c0963e81b9b21db
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1064153
Signed-off-by: Fabian Deutsch <fabiand@redhat.com>