Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Commit

Permalink
updated quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
mslacken committed Jun 1, 2022
1 parent 6dc942d commit 46c4e89
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions docs/quickstart/suse15.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,22 +94,22 @@ There are a number of services and configurations that Warewulf relies on to ope
If you wish to configure all services, you can do so individually (omitting the `--all`)
will print a help and usage instructions.

```bash
sudo wwctl configure --all
```
:::note
If the `dhcpd` service was not used before you will have to add the interface on which
the cluster network is running to the `DHCP_INTERFACE` in the file `/etc/sysconfig/dhcpd`.
:::

```bash
sudo wwctl configure --all
```

## Pull and build the VNFS container and kernel

This will pull a basic VNFS container from Docker Hub and import the default running
kernel from the controller node and set both in the "default" node profile.

```bash
$ sudo wwctl container import docker://registry.opensuse.org/science/warewulf/leap-15.3/containers/kernel:latest --setdefault
$ sudo wwctl kernel import $(name -r) --setdefault
$ sudo wwctl container import docker://registry.opensuse.org/science/warewulf/leap-15.4/containers/kernel:latest leap15.4 --setdefault
```

## Set up the default node profile
Expand All @@ -119,7 +119,7 @@ profile, but if you wanted to set them by hand to something different, you can d
following:

```bash
sudo wwctl profile set -y default -K $(uname -r) -C leap-15.3-hpc:latest
sudo wwctl profile set -y -C leap15.4
```

Next we set some default networking configurations for the first ethernet device. On
Expand All @@ -128,8 +128,8 @@ according to the HW address. Because all nodes will share the netmask and gatewa
configuration, we can set them in the default profile as follows:

```bash
sudo wwctl profile set -y default --netdev eth0 --netmask 255.255.255.0 --gateway 192.168.200.1
sudo wwctl profile list
sudo wwctl profile set -y default --netname default --netmask 255.255.255.0 --gateway 192.168.200.1
sudo wwctl profile list -a
```

## Add a node
Expand All @@ -146,7 +146,7 @@ configurations which always supersede profile configurations.

```bash
sudo wwctl node add n0000.cluster --netdev eth0 -I 192.168.200.100 --discoverable
sudo wwctl node list -a n0000
sudo wwctl node list -a n0000.cluster
```

## Warewulf Overlays
Expand All @@ -166,9 +166,6 @@ commands. Files that end in the ``.ww`` suffix are templates and abide by standa
text/template rules. This supports loops, arrays, variables, and functions making overlays
extremely flexible.

:::note
When using the overlay subsystem, system overlays are never shown by default. So when running ``overlay`` commands, you are always looking at runtime overlays unless the ``-s`` option is passed.
:::

All overlays are compiled before being provisioned. This accelerates the provisioning
process because there is less to do when nodes are being managed at scale.
Expand Down

0 comments on commit 46c4e89

Please sign in to comment.