Merge pull request #1426 from anderbubble/1179/rocky-quickstart-fix

Fixes for EL quickstart
This commit is contained in:
Jonathon Anderson
2024-09-27 10:57:28 -06:00
committed by GitHub
3 changed files with 27 additions and 11 deletions

View File

@@ -70,6 +70,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Avoid panic on container import #1244
- make sure that warewulfd has the permission 0755 at creation time #674
- Fix "onboot" behavior for NetworkManager, Debian networking, and Suse wicked. #1278
- Clarified missing steps in Enterprise Linux quickstart. #1179
### Added

View File

@@ -42,7 +42,7 @@ Imported containers are used to create bootable VNFS images.`,
func init() {
baseCmd.PersistentFlags().BoolVarP(&SetForce, "force", "f", false, "Force overwrite of an existing container")
baseCmd.PersistentFlags().BoolVarP(&SetUpdate, "update", "u", false, "Update and overwrite an existing container")
baseCmd.PersistentFlags().BoolVarP(&SetBuild, "build", "b", false, "Build container when after pulling")
baseCmd.PersistentFlags().BoolVarP(&SetBuild, "build", "b", false, "Build container after pulling")
baseCmd.PersistentFlags().BoolVar(&SetDefault, "setdefault", false, "Set this container for the default profile")
baseCmd.PersistentFlags().BoolVar(&SyncUser, "syncuser", false, "Synchronize UIDs/GIDs from host to container")
baseCmd.PersistentFlags().BoolVar(&OciNoHttps, "nohttps", false, "Ignore wrong TLS certificates, superseedes env WAREWULF_OCI_NOHTTPS")

View File

@@ -13,10 +13,7 @@ v4.5.7 release on Enterprise Linux 9:
dnf install https://github.com/warewulf/warewulf/releases/download/v4.5.7/warewulf-4.5.7-1.el9.x86_64.rpm
Packages are available for el7, el8, and el9.
.. note::
CentOS 7 (and el7 in general) uses ``yum``, and does not provide ``dnf``.
Packages are available for el8 and el9.
.. _GitHub releases: https://github.com/warewulf/warewulf/releases
@@ -36,9 +33,6 @@ If you prefer, you can also install Warewulf from source.
make
make install
.. note::
CentOS 7 (and el7 in general) only provides a single ``ipxe-bootimgs`` package.
Configure firewalld
===================
@@ -163,10 +157,11 @@ default running kernel from the controller node and set both in the
.. code-block:: bash
wwctl container import docker://ghcr.io/warewulf/warewulf-rockylinux:9 rockylinux-9 --setdefault
wwctl container import docker://ghcr.io/warewulf/warewulf-rockylinux:9 rockylinux-9 --build
wwctl profile set default --container rockylinux-9
Configure a default node profile
================================
Configure the default node profile
==================================
In this example, all nodes share the netmask and gateway
configuration, so we can set them in the default profile.
@@ -195,4 +190,24 @@ overlapping names, distinguish them using dot notation.
The full node configuration comes from both cascading profiles and
node configurations which always supersede profile configurations.
Build overlays
==============
The default configuration should cause node overlays to be built automatically
when they are required; but you can build them explicitly, just to be sure.
.. warning::
Overlay autobuild has been broken at various times prior to v4.5.6; so it's
a reasonable practice to rebuild overlays manually after changes to the
cluster.
.. code-block:: bash
# you can also supply an `n1` argument to build for the specific node
wwctl overlay build
Boot
====
Turn on your compute node and watch it boot!