semodule: Fix some incorrect impots

sshd_net_t does not exist on el6, thus only include it optionally.

Change-Id: I7557545f8678fe238f72754bffe0b10b95bf3404
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
semodule: Fix some types (not) availabel on el6

Change-Id: I3139ddc6e5176d2ab7a8c6e9056a1a876faeae66
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Always use local kdump after install installs

If no kdump parameters are specified, default to local. Instead
of leaving the service disabled

Change-Id: I5dcf8a8046a8c4284edf0bd3ed6ed24000ffe7ef
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1123413
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1122917
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Add a basepath to AugeasWrapper's get_many

Give the option to retrieve multiple related paths. Also, don't
try to concatenate strings with None. It doesn't work.

Change-Id: I4284a084b1a16b3b6dee315b92d09e15bc57f1d2
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Keep the kdump augeas lens

Augeas doesn't know how to parse kdump.conf without it, and
replacing the old kdump code will require doing so.

Change-Id: I7beab123feae8db5cbaa8c214338f302be7b95e7
Signed-off-by: Ryan Barry <rbarry@redhat.com>
disable continue button if Free space was negative

If Free space was negative on the selected storage volumes to
install, disable continue button and enable it when free space
>= 0.

Change-Id: I7f8dcfa7b980b5b272fc5845b3f228af7fe4f21e
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1099384
Signed-off-by: hadong <hadong@redhat.com>
Don't put storage.fill_data in the confirmation page model

No need to include checkboxes, and urwid doesen't like raw bools
when it tries to assign markup

Change-Id: I00e9f18f91a718db699109f0fa9509c4d012e875
Signed-off-by: Ryan Barry <rbarry@redhat.com>
use sam when registering sat6+

Use SAM/subscription-manager instead of legacy registration for
new Satellite.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1067355
Change-Id: I9906ef0e605c3936ba4d1cf7b80e8a83e5863d19
Signed-off-by: Joey Boggs <jboggs@redhat.com>
Skip running rhn autoinstall script when it's already registered

Don't run the rhn autoinstall script on upgrades or in situations
where the config files already exist, under the assumption we've
already registered

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1045990
Change-Id: I409181a8e894c865f5597cb92265196006271e37
Signed-off-by: Joey Boggs <jboggs@redhat.com>
Populate RHN page username field

If a username has previously been entered, use that instead of a
blank entry box.

Change-Id: I412137101cb7dfc10d8b3491719827e67c715592
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1098580
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Use the new codebase for autoinstalls, check for None

Don't try to blindly check the length of variables which may be
None, and don't use the old codebase to get kernel commandline
arguments when we can use the new codebase.

Change-Id: I198eb9438f10c748aa0323ef398cfa21dea9896f
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1120650
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Don't overwrite the entirety of kdump.conf when we save

Be smarter about writing kdump.conf -- only clear and set values
which may be set by the TUI so we don't stomp on other people.

Change-Id: Ic53bab0b3a5602ac71028db5835a69005ac85a0c
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1122923
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Remove final references to the old kdump codebase

Remove it from the makefile, and remove the unnecessary import
from ovirt-auto-install.

Change-Id: I125c000912176e3e230b9c7d4ae136dbb5362277
Signed-off-by: Ryan Barry <rbarry@redhat.com>
utils: Convenience function for checking OS/Version

Change-Id: I60b32168b4d5e5ede84b31e23b4d26a782d1f283
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Remove persistent net-naming hack

But keep it for EL6.

Change-Id: I543622fe94d1468602d9e86a375b80ea5306ebc0
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=910701
Signed-off-by: Ryan Barry <rbarry@redhat.com>
installer: Make the wording more correct

Change-Id: I61432c015e83964ca663ef249cfbab531324f927
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1124736
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
recipe: Add centos7 support

… well, that's a basic guess, might need some modifications

Change-Id: I55c1f80d15d8f889ae293c8bc02d8d177f5de9e5
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Update docker build instructions

Docker building still won't work until I look at node-creator, but
fix the build instructions. "docker build - <..." works in a temp
directory which doesn't know where the script is. Needs to be
symlinked into the local directory instead.

Also, docker build no longer directly runs the entrypoint, so it
should be tagged and run independently

Change-Id: I6ea0ea442f4a11fc9edc7940d2a8b1906511543f
Signed-off-by: Ryan Barry <rbarry@redhat.com>
system.py: add centos for is_el validation

is_el() should work for based RHEL distro. Commit 3d890b3
fails in case cannot find el distro. This patch adds
the validation for centos.

Change-Id: I2e636183e468fe35c04c3c950eefceacf0e4b1b7
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Properly find the LOGGING mount in the installer

Don't look for writable when we look for the logging mount, and
don't chcon the entire thing (only the actual mount is needed)

Change-Id: Id69c7193205b707339646eba065156e2a3b4003a
Signed-off-by: Ryan Barry <rbarry@redhat.com>