* Did work on adding better offline support for installing DHCP/PXE targets on RHEL 8.1

Signed-off-by: Digimer <digimer@alteeve.ca>
main
Digimer 5 years ago
parent 974d3c3411
commit c2ef156e2d
  1. 10
      Anvil/Tools.pm
  2. 6
      cgi-bin/striker
  3. 29
      html/skins/alteeve/pxe.txt
  4. 10
      tools/striker-manage-install-target

@ -906,6 +906,16 @@ sub _set_defaults
hash_count => 500000, hash_count => 500000,
salt_length => 16, salt_length => 16,
}, },
# On actual RHEL systems, this will be used to ensure that given repos are enabled on given
# machines types. Obviously, this requires that the host has been subscribed.
rhel => {
repos => {
common => ["codeready-builder-for-rhel-8-x86_64-rpms"],
dashboard => [],
dr => [],
node => ["rhel-8-for-x86_64-highavailability-rpms"],
},
},
terminal => { terminal => {
columns => 80, columns => 80,
stty => "", stty => "",

@ -439,17 +439,17 @@ sub process_striker_menu
# Are there any bad keys? # Are there any bad keys?
my $query = "SELECT state_uuid, state_note FROM states WHERE state_name LIKE 'host_key_changed::%';"; my $query = "SELECT state_uuid, state_note FROM states WHERE state_name LIKE 'host_key_changed::%';";
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { query => $query }}); $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 3, list => { query => $query }});
my $results = $anvil->Database->query({query => $query, source => $THIS_FILE, line => __LINE__}); my $results = $anvil->Database->query({query => $query, source => $THIS_FILE, line => __LINE__});
my $count = @{$results}; my $count = @{$results};
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 3, list => {
results => $results, results => $results,
count => $count, count => $count,
}}); }});
my $broken_key_icon = $count ? "broken_key_icon_on.png" : "broken_key_icon_off.png"; my $broken_key_icon = $count ? "broken_key_icon_on.png" : "broken_key_icon_off.png";
my $broken_key_message = $count ? "#!string!striker_0132!#" : "#!string!striker_0131!#"; my $broken_key_message = $count ? "#!string!striker_0132!#" : "#!string!striker_0131!#";
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 3, list => {
broken_key_icon => $broken_key_icon, broken_key_icon => $broken_key_icon,
broken_key_message => $broken_key_message, broken_key_message => $broken_key_message,
}}); }});

@ -73,26 +73,25 @@ selinux --permissive
%packages %packages
@^minimal-environment @^minimal-environment
alteeve-el8-repo alteeve-el8-repo
createrepo #createrepo
dhcp-server #dhcp-server
firefox #firefox
gcc gcc
gdm #gdm
gnome-terminal #gnome-terminal
httpd #httpd
nmap #nmap
perl-CGI #perl-CGI
perl-CGI-Carp
perl-Data-Dumper perl-Data-Dumper
perl-interpreter #perl-interpreter
perl-NetAddr-IP perl-NetAddr-IP
postgresql-server #postgresql-server
rsync rsync
syslinux #syslinux
syslinux-nonlinux #syslinux-nonlinux
tftp-server #tftp-server
vim vim
virt-manager #virt-manager
%end %end

@ -1188,8 +1188,6 @@ sub load_packages
"chkconfig.x86_64", "chkconfig.x86_64",
"chrony.x86_64", "chrony.x86_64",
"cifs-utils.x86_64", "cifs-utils.x86_64",
"clufter-bin.x86_64",
"clufter-common.noarch",
"clutter-gst3.x86_64", "clutter-gst3.x86_64",
"clutter-gtk.x86_64", "clutter-gtk.x86_64",
"clutter.x86_64", "clutter.x86_64",
@ -1273,6 +1271,7 @@ sub load_packages
"elfutils-libs.x86_64", "elfutils-libs.x86_64",
"emacs-filesystem.noarch", "emacs-filesystem.noarch",
"enchant.x86_64", "enchant.x86_64",
"enchant2.x86_64 ",
"ethtool.x86_64", "ethtool.x86_64",
"evolution-data-server-langpacks.noarch", "evolution-data-server-langpacks.noarch",
"evolution-data-server.x86_64", "evolution-data-server.x86_64",
@ -1328,10 +1327,12 @@ sub load_packages
"firewalld-filesystem.noarch", "firewalld-filesystem.noarch",
"firewalld.noarch", "firewalld.noarch",
"flac-libs.x86_64", "flac-libs.x86_64",
"flatpak.x86_64",
"fontconfig.x86_64", "fontconfig.x86_64",
"fontpackages-filesystem.noarch", "fontpackages-filesystem.noarch",
"freetype.x86_64", "freetype.x86_64",
"fribidi.x86_64", "fribidi.x86_64",
"fuse.x86_64",
"fuse-libs.x86_64", "fuse-libs.x86_64",
], ],
g => [ g => [
@ -1409,6 +1410,7 @@ sub load_packages
"gssproxy.x86_64", "gssproxy.x86_64",
"gstreamer1-plugins-base.x86_64", "gstreamer1-plugins-base.x86_64",
"gstreamer1.x86_64", "gstreamer1.x86_64",
"gtksourceview3.x86_64",
"gtk-update-icon-cache.x86_64", "gtk-update-icon-cache.x86_64",
"gtk-vnc2.x86_64", "gtk-vnc2.x86_64",
"gtk2.x86_64", "gtk2.x86_64",
@ -2076,7 +2078,6 @@ sub load_packages
"python3-cairo.x86_64", "python3-cairo.x86_64",
"python3-cffi.x86_64", "python3-cffi.x86_64",
"python3-chardet.noarch", "python3-chardet.noarch",
"python3-clufter.noarch",
"python3-configobj.noarch", "python3-configobj.noarch",
"python3-cryptography.x86_64", "python3-cryptography.x86_64",
"python3-dateutil.noarch", "python3-dateutil.noarch",
@ -2270,6 +2271,7 @@ sub load_packages
"vte291.x86_64", "vte291.x86_64",
], ],
w => [ w => [
"webkit2gtk3.x86_64",
"webkit2gtk3-jsc.x86_64", "webkit2gtk3-jsc.x86_64",
"webkit2gtk3-plugin-process-gtk2.x86_64", "webkit2gtk3-plugin-process-gtk2.x86_64",
"webkit2gtk3.x86_64", "webkit2gtk3.x86_64",
@ -2281,6 +2283,8 @@ sub load_packages
], ],
x => [ x => [
"xcb-util.x86_64", "xcb-util.x86_64",
"xdg-desktop-portal.x86_64",
"xdg-desktop-portal-gtk.x86_64",
"xfsprogs.x86_64", "xfsprogs.x86_64",
"xkeyboard-config.noarch", "xkeyboard-config.noarch",
"xml-common.noarch", "xml-common.noarch",

Loading…
Cancel
Save