Skip to content

Commit

Permalink
Adapt for Leap 15.5
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Reber <areber@redhat.com>
  • Loading branch information
adrianreber committed Jul 10, 2023
1 parent fc10725 commit a693ca3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Source4: openeuler-22.03.tmpl
Source5: include-openEuler
Source6: rocky-9.tmpl
Source7: opensuse-15.4.tmpl
Source8: opensuse-15.5.tmpl
Patch0: warewulf-vnfs.aarch64.bootstrap.patch
Patch1: warewulf-vnfs.aarch64.bootstrap_usb.patch
Patch2: warewulf-vnfs.bootstrap_msr.patch
Expand Down Expand Up @@ -116,6 +117,7 @@ install -D -m 0644 %SOURCE4 %{buildroot}/%{_libexecdir}/warewulf/wwmkchroot/open
install -D -m 0644 %SOURCE5 %{buildroot}/%{_libexecdir}/warewulf/wwmkchroot/include-openEuler
install -D -m 0644 %SOURCE6 %{buildroot}/%{_libexecdir}/warewulf/wwmkchroot/rocky-9.tmpl
install -D -m 0644 %SOURCE7 %{buildroot}/%{_libexecdir}/warewulf/wwmkchroot/opensuse-15.4.tmpl
install -D -m 0644 %SOURCE8 %{buildroot}/%{_libexecdir}/warewulf/wwmkchroot/opensuse-15.5.tmpl

%files
%doc AUTHORS ChangeLog INSTALL NEWS README TODO COPYING LICENSE
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/install/common/warewulf_mkchroot_suse.tex
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ \subsubsection{Build initial BOS image} \label{sec:assemble_bos}
[sms](*\#*) mkdir -p -m 755 $CHROOT # create chroot housing dir
[sms](*\#*) mkdir -m 755 $CHROOT/dev # create chroot /dev dir
[sms](*\#*) mknod -m 666 $CHROOT/dev/zero c 1 5 # create /dev/zero device
[sms](*\#*) wwmkchroot -v opensuse-15.3 $CHROOT # create base image
[sms](*\#*) wwmkchroot -v opensuse-15.5 $CHROOT # create base image
# Enable OpenHPC repo in chroot
[sms](*\#*) cp -p /etc/zypp/repos.d/OpenHPC*.repo $CHROOT/etc/zypp/repos.d
# Import GPG keys for chroot repository usage
Expand Down
2 changes: 2 additions & 0 deletions docs/recipes/install/common/warewulf_setup_sles.tex
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
[sms](*\#*) ip link set dev ${sms_eth_internal} up
[sms](*\#*) ip address add ${sms_ip}/${internal_netmask} broadcast + dev ${sms_eth_internal}

# Enable Apache mod_rewrite module (needed for warewulf)
[sms](*\#*) a2enmod mod_rewrite
# Restart/enable relevant services to support provisioning
[sms](*\#*) systemctl enable mysql.service
[sms](*\#*) systemctl restart mysql
Expand Down

0 comments on commit a693ca3

Please sign in to comment.