selinux: Further updates

Change-Id: I87908879b71f1049c37bca876f441415e1a1323d
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
recipe: Relabel files after installation

Change-Id: I1780fa7b58ce07e8f57022528fdb792dbcc09795
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
selinux: More permissions for ssh

Change-Id: I7f634950ac2f8e31c5c524d53bb03aa03eeaefcd
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
ovirt-node-upgrade prevent multiple runs after a sucessful upgrade

rhbz#1006390
Change-Id: I838ae4116ca587e84a0d6c7f6ad323204cffcade
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
fix grub device.map for iscsi installion
rhbz#901489

Change-Id: I0107a51241dd4ba4a7f9bc89d67ce0db1c3114f3
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
compile augeas module

rhbz#1009221

Change-Id: Ib2626bd94c8fd14b48e64c12404e67b5787a744c
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Fix auto install with "storage_init=/dev/sda,/dev/sda" failed issue

Change-Id: I700200dc612c221fcb5a3ac663bbe8f7a5e77bfc
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=961706
Signed-off-by: hadong <hadong0720@gmail.com>
ssh: Show consistent transaction

Previously the transaction elements in appearing in the  transaction
used on the security page weren't obviously connected to the changes
done in the TUI.
Now the same transaction elements are used in the transaction.

Sometimes it's not possible to distinguish (in the defaults class) what
value changed. Therefor we are running all transaction elements and
don't try to be smart.
It could be solved by handling this in the TUI layer.

Change-Id: Idff93c3d8a59814941d1ed34d92c78c97a39d70d
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=982425
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Miss "-o loop" for squashfs.img/ext3fs.img mounted

Change-Id: I81ca05ab4e714f002f519eed7a2c4bf4828406a4
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1003489
Signed-off-by: hadong <hadong0720@gmail.com>
network: Remove outdated servers

Previously it could happen that servers which were removed in the TUI
didn't get removed in teh actual config files.
This is now fixed by removing all existing servers and writing the new
ones.

Change-Id: I412f046b603c9fe0a3d6768f1a8ced3dc263b07e
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=982534
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
installer: Fix password page

Previously the installer accepted an empty password but failed to
complete the installation. This happened due to an incorrect password
check.
Now the password is checked correctly and the user get's feedback about
the different problems.
Additionally the installer only allows the user to carry on when a valid
password is given.

Change-Id: I2daeebd9ae5079d39af1b4f1b7be6eed9a9ce790
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=985275
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
net: Configured if IPv6 or IPv4 cfg is present

Previously a NIC was only considerred to be configured when an IPv4
configuration was found. Now a NIC is considerred to be configured when
an IPv4 or IPv6 configuration is found.

Change-Id: If528b682e85a89d0340fd9fe63304fd168c2476b
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=991296
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
lib: Solve conflicting names

Due to a name conflict (import system from ovirt.node.utils and the
function itself) the keyboard config couldn't be loaded during boot.
This is now solved by fixing the import.

Change-Id: I5e92b5b3ffd44973c1bd085accfcc93933caf318
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1000867
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
don't remove hdparm

it's needed by tuned

Change-Id: I52ab16a49537fbe36bd35778285574e8f7577913
Bug-Id:  https://bugzilla.redhat.com/1001004
Signed-off-by: Mike Burns <mburns@redhat.com>
ui: Only fully populate the primary NIC

Previously informations about the configuration (e.g. IPv6 Addr., bridge
layout, ...) were also shown in the non-configured/non-primary NIC
fields (within the NIC details dialog).
Now only the fields of the primary/configured NIC are populated with the
configuration data.

Change-Id: I37abd1b1055e086ad252e03b04fa717a6c8f4b6f
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1002832
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1007148
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Make sure we don't reuse Augeas objects in ovirt.node.config

If multiple admin sessions were opened, changed values which
relied on Augeas (DNS and NTP settings, principally) did not
reflect changes between them without quitting the UI. Force a
reload of cached Augeas values so it properly updates.

Change-Id: I3c91839c4dca91fed47d457bdb8a1f712c172822
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=985228
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Fix bond named issue

Previously when auto install it with "bond=bond0:eth1" parameter
it will create a bond named "bond=bond0"
Now fix it to create a bond named "bond0".

Change-Id: I6c9eedb0f5446662d82d43e809962a1f8707b8cb
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=992916
Signed-off-by: hadong <hadong0720@gmail.com>
add /usr/share/snmp/mibs to rwtab
rhbz#994435

Change-Id: If9cc69dcbb82349fa93d4ba0ca8c32f7a9c305f9
Signed-off-by: Joey Boggs <jboggs@redhat.com>
installer: Fix EFI boot entry removal

Previously removing EFI entries during a reinstall failed due to an
incorrect call to efibootmgr.
This patch adds a wrapper around efibootmgr and provides an API to add
an remove EFI boot entries.

This shall prevent incorrect function calls to efibootmgr.
The new API is now also used in the legacy (installer) code.

Change-Id: I761ac056f4a168eefbc49319c0ff66239a9ded38
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=950553
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Fix EFI boot entry shown "fedora" issue

Actually the EFI boot entry should show "oVirt Node Hypervisor",not
"fedora" value.
Also this patch fixed using wrong loader_filename issue.
(For fedora, the loader_filename should be "grubx64.efi."
 For rhel, the loader_filename should be "grub.efi")

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