edit-node: fix --install=package.rpm use

In commit c7845d3b29a we introduced the use of '*' for non
.rpm packages. However, this patch requires a fix to keep
compatibility to .rpm use.

Change-Id: I0541f9a11c6a591aeb4b1bb98789f6f27d14ba52
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1133482
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
selinux: Fix left over divider

Change-Id: Ia02e6adaa41a99980cecf3541629fe211346e2a6
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
selinux: Add missign type ntpd_t

Change-Id: I5f0d9949cf43b2842c2a9aa8cdb9fbb388a50386
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
collectd: Better info about failed auto discovery

Change-Id: Ie4dd2ad17947dbceb83772c6d6004ba3988f3936
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1057162
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
edit-node: Set system release according to the name

system-release will now use the same name which is passed with --name.

Change-Id: Id40f4ccafa872a259b9b7e29574682df1d76b9c2
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1087118
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Revert logic changes in ovirt-functions.in

The installer doesn't like it if the CD liveos is mounted on
/liveos. Don't do it.

Change-Id: Iaa8069299df6d1c77020f3e88ff7bdcb8f25b8bd
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1120650
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1095081
Signed-off-by: Ryan Barry <rbarry@redhat.com>
edit-node: support /etc/pki/entitlement to yum

Mount bind /etc/pki/entitlement.
Thanks to hadong <hadong AT redhat.com> for the initial patch suggestion.

Change-Id: I528b4939e6912c95f7d04cf7bcb283511e0bd982
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1136239
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
ovirt.te: systemd_hostnamed_t

This patch allow:

- systemd_hostnamed_t tmpfs_t:dir { write remove_name search add_name };
- systemd_hostnamed_t ovirt_t:dbus send_msg;

Change-Id: If716de33e9436c2928c8bceb2373893b1f7acd25
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
ovirt.te: Add missing ntpd_t

Change-Id: Ia8ba42c78761013071701f9e67b84297d7eb14df
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
network_page: Add hostname validation length

The commands hostname or hostnamectl accepts up to 64 chars.
This patch adds a validation for this entry in the TUI.

Change-Id: I6c542f7ec0b68fe8531c37791362daa7580cd06c
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1077996
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
edit-node: _setup_pki_entitlement() fix unindent

Fix a return unindent

Change-Id: I74c9738d34e3e609a842519daf148efbed4fc13c
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
edit-node: _setup_pki_entitlement() call missed communicate()

To create the self._instroot/etc/pki/entitlement before the mount bind
we should call communicate().

Change-Id: Ieb8fbc8ea81f15f94e227ef043f3699bc0f05b5b
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
functions: Let persist return the correct retval

Change-Id: I7ad0559c926331e74bad6fe352574749b35ce8ce
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
plugins_page:Avoid a newline for plugins name/version/data installed info

Change-Id: I3a5ce5359016679bc0d85a610c76e838ddf6433c
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1118186
Signed-off-by: hadong <hadong@redhat.com>
Don't use try to use "ssh" augeas type for kdump

Augeas doesn't support 'ssh' as a directive yet. Keep using 'net'
for now

Change-Id: Ib54ccbaa0ae80863c8b5844989323d54d5eccf13
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1129184
Signed-off-by: Ryan Barry <rbarry@redhat.com>
persist: use restorecon after persist

shutil module doesn't provide method to copy objects keeping
selinux context. This patch adds restorecon call after the persist.

Change-Id: I50965ea67cfc6aa2c9c108a14e7c0c1607b287ad
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
firewall: Convenience function

… to hide the implementation

Change-Id: Ie1db01f4cca3e5cea638e4db6a504a843ec60b97
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
utils: fix firewall

Change-Id: I1fd3a8db797dd02cdf2b58f536f58f08a0abf96d
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
fix snmp to work

Need clean /var/lib/net-snmp/snmpd.conf before configure snmp and
set iptables for snmp.

Change-Id: Idc32bd53cffd2ef93a60a06f8937a9a9ff4539a5
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1096164
Signed-off-by: hadong <hadong@redhat.com>
utils: Use firewall.open_port

Change-Id: Ia2bca398c09dc0f4d451ea1f201f2035cf9f2a3b
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>