Skip to content

Commit

Permalink
packages
Browse files Browse the repository at this point in the history
  • Loading branch information
rvykydal committed Jun 14, 2024
1 parent d42263d commit dd59e3f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10 deletions.
3 changes: 3 additions & 0 deletions fragments/platform/rhel10/payload/python_crypt_packages.ks
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
%packages
python3
%end
3 changes: 3 additions & 0 deletions fragments/platform/rhel8/payload/python_crypt_packages.ks
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
%packages
python3
%end
3 changes: 3 additions & 0 deletions fragments/platform/rhel9/payload/python_crypt_packages.ks
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
%packages
python3
%end
4 changes: 4 additions & 0 deletions fragments/shared/payload/python_crypt_packages.ks
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
%packages
python3
python3-crypt-r
%end
6 changes: 1 addition & 5 deletions rootpw-basic.ks.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ rootpw qweqwe

shutdown

# make sure Python 3 is available for the %post scriptlet
%packages
python3
python3-crypt-r
%end
%ksappend payload/python_crypt_packages.ks

%post --interpreter=/usr/bin/python3

Expand Down
6 changes: 1 addition & 5 deletions rootpw-lock.ks.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ rootpw --lock qweqwe

shutdown

# make sure Python 3 is available for the %post scriptlet
%packages
python3
python3-crypt-r
%end
%ksappend payload/python_crypt_packages.ks

%post --interpreter=/usr/bin/python3

Expand Down

0 comments on commit dd59e3f

Please sign in to comment.