Simplify wwctl server
- Always run in the foreground - Always log to stdout/err (unless syslog is requested) - Update systemd to reload with a direct signal - Omit any pidfile for "warewulfd" Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -121,8 +121,6 @@ Build and install Warewulf on wwdev
|
||||
sudo wwctl overlay build -a
|
||||
|
||||
# Start the Warewulf daemon
|
||||
sudo wwctl ready
|
||||
sudo wwctl server start
|
||||
sudo wwctl server status
|
||||
sudo wwctl server &
|
||||
|
||||
Boot your node and watch the bash and the output of the Warewulfd process
|
||||
|
||||
@@ -223,7 +223,7 @@ Vagrantfile
|
||||
systemd name: nfs-server
|
||||
CONF
|
||||
|
||||
sed -i 's@ExecStart=/usr/bin/wwctl server start@ExecStart=/usr/bin/wwctl server start -d -v@' /usr/lib/systemd/system/warewulfd.service
|
||||
sed -i 's@ExecStart=/usr/bin/wwctl server@ExecStart=/usr/bin/wwctl server -d -v@' /usr/lib/systemd/system/warewulfd.service
|
||||
systemctl enable --now warewulfd
|
||||
|
||||
wwctl configure --all
|
||||
|
||||
@@ -137,9 +137,7 @@ I have VirtualBox running on my desktop.
|
||||
sudo wwctl overlay build -a
|
||||
|
||||
# Start the Warewulf daemon
|
||||
sudo wwctl ready
|
||||
sudo wwctl server start
|
||||
sudo wwctl server status
|
||||
sudo wwctl server &
|
||||
|
||||
4. Create a new guest VM instance inside the VirtualBox to be the
|
||||
Warewulf client/compute node. Under the system configuration make
|
||||
|
||||
Reference in New Issue
Block a user