Commit Graph

2184 Commits

Author SHA1 Message Date
Christian Goll
938eff2cfa linking the template and for dhpcd.conf
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
724441dc79 added test for shim and efi send
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
0808f76317 added Documentation for grub boot
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
0c9bf78cd0 using ProvisionSend instean of GrubSend
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
60dc8f6251 enable grub boot for all nodes
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
03ef7447e9 copy shim/grub on default profile container change
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
2fe98e5f55 default profile needs to have a container
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
a36cb23319 added shim/grub find to provision process
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Christian Goll
4cacd0ef75 added grub.cfg.ww
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Jonathon Anderson
41c2890232 Merge pull request #1040 from anderbubble/transfer-warewulf-node-images
Update path to warewulf-node-images
2024-01-16 10:21:19 -07:00
Jonathon Anderson
04a0b0e4cf Update path to warewulf-node-images
warewulf-node-images has moved to
github.com/warewulf/warewulf-node-images

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-16 00:23:12 -07:00
Jonathon Anderson
1ba7493de7 Merge pull request #1003 from hpcng/SeperateStreams
separate writer for wwlog.Info
2024-01-15 23:29:14 -07:00
Christian Goll
5efaf6d9f5 added extra OUTPUT level
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-15 23:22:00 -07:00
Christian Goll
aaadf26b90 separate writer for wwlog.Info
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-15 23:13:03 -07:00
Jonathon Anderson
6f7e85e505 Merge pull request #1033 from brianclemens/main
Update website repo URL
2024-01-10 20:25:45 -07:00
Brian Clemens
648ebe2abc Update website repo URL
Signed-off-by: Brian Clemens <brian@ciq.com>
2024-01-11 11:04:13 +09:00
Jonathon Anderson
f46abf86dc Merge pull request #1028 from anderbubble/warewulf-slack-invite
Update Slack invite for Warewulf Slack
2024-01-04 18:06:11 -07:00
Jonathon Anderson
7a8ae36fe0 Merge pull request #1027 from anderbubble/suppress-vendor-errors
Suppress vendor errors in makefile
2023-12-30 10:15:03 -07:00
Jonathon Anderson
f8760310dd Suppress golang vendor errors during dependency resolutions
The godeps macro is used by the Makefile to determine if golang binaries need
to be rebuilt based on changes to their dependencies, which may include
libraries in vendor. This produces errors if the vendor directory is not
present.

This change suppresses error messages during dependency resolution.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-30 08:11:22 -07:00
Christian Goll
8391b2d28b Merge pull request #1026 from anderbubble/build-ipxe
Update iPXE build script
2023-12-30 13:32:14 +01:00
Jonathon Anderson
4b92e63082 Update Slack invite for Warewulf Slack
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-24 11:17:37 -07:00
Jonathon Anderson
7f42cdc8b5 Update iPXE build script
Replace `ipxe-update.sh` with `scripts/build-ipxe.sh`.

* correctly builds for arm64
* supports additional configuration from environment variables
* intended for use on an installed system

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-23 19:15:40 -07:00
Christian Goll
72b7f0aa5c Merge pull request #1017 from brianphan/fix-10-persistent-net-link
Update 10-persistent-net.link.ww
2023-12-22 11:00:24 +01:00
Christian Goll
70d08764ee Merge pull request #1023 from anderbubble/distro-ipxe-path-fix
Fix relative iPXE paths
2023-12-22 10:58:19 +01:00
Jonathon Anderson
a20f4bbcea Minor formatting fixes for persistent-net template
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-21 23:11:34 -07:00
Jonathon Anderson
b49e770118 Specify persistent-net comment block per-file
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-21 23:10:47 -07:00
Jonathon Anderson
07dbd5b2a7 Only set persistent-net name if device is specified
persistent-net should not use the warewulf interface name as a default device
name because the network configuration scripts don't.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-21 23:09:20 -07:00
Jonathon Anderson
feeb6211af Remove device: eth0 from dummy interface
With eth0 specified as the default interface device, all interfaces by default
were attempted to be renamed to eth0. This didn't break before because device
renaming wasn't working for multiple interfaces in general; but now that it's
fixed, we should no longer be setting a default interface name.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-21 22:11:44 -07:00
Brian Phan
55880ae37d Update CHANGELOG
Signed-off-by: Brian Phan <bphan@ciq.com>
2023-12-21 21:10:40 -07:00
Brian Phan
59830dc549 Update file name of rendered file
Signed-off-by: Brian Phan <bphan@ciq.com>
2023-12-21 21:10:40 -07:00
Brian Phan
9fdcdceb04 Update 10-persistent-net.link.ww
Update Warewulf template to generate a file per network device.

Signed-off-by: Brian Phan <bphan@ciq.com>
2023-12-21 21:10:40 -07:00
Jonathon Anderson
6e93e8f3a8 Fix relative ipxe paths
IPXESOURCE is pointing to /usr/share/ipxe/ by default, so the `ipxe/`
directory should not be included in the compiled-in relative defaults.

Fixes a bug in #1010

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-21 20:21:49 -07:00
Christian Goll
6586abb664 Merge pull request #1010 from anderbubble/distro-ipxe
Use distribution iPXE
2023-12-21 08:48:36 +01:00
Christian Goll
0e6c67b87c Merge branch 'main' into distro-ipxe 2023-12-21 08:09:36 +01:00
Christian Goll
5010602969 Merge pull request #1015 from JasonYangShadow/issue/474
fix a bug when replacing existing containers will generate an error
2023-12-15 08:27:00 +01:00
Christian Goll
afb4f962bd Merge pull request #1019 from cfelipesp/debian-quickstart
Add Debian quickstart
2023-12-15 08:25:40 +01:00
Carlos Felipe S Pinheiro
5ecb4b233c updated uderdocs/index.rst - added an entry for Debian 12 in Quickstart toctree
Signed-off-by: Carlos Felipe S Pinheiro <felpin1@gmail.com>
2023-12-14 19:04:47 -03:00
Carlos Felipe S Pinheiro
7483e9c9ea created file userdocs/quickstart/debian12.rst
Signed-off-by: Carlos Felipe S Pinheiro <felpin1@gmail.com>
2023-12-14 19:01:07 -03:00
jason yang
5785d15497 enable the build flag
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-12-12 17:29:50 -07:00
jason yang
231987ecfc fix a bug when replacing existing containers
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-12-12 17:06:28 -07:00
Jonathon Anderson
9c698d7a13 Merge pull request #932 from mslacken/WarnNotErr
warn and don't show scary error on syncuids
2023-12-09 02:19:03 -07:00
Christian Goll
77c33c777e Warn and don't show a scary error in syncuser
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-12-09 02:12:46 -07:00
Jonathon Anderson
98b36a57b0 Merge pull request #939 from mslacken/DontPanic
don't panic on malformed passwd
2023-12-09 02:09:05 -07:00
Christian Goll
7de3c1c5cd Don't panic on malformed passwd
Fixes #527

Signed-off-by: Christian Goll <cgoll@suse.com>
2023-12-09 02:05:53 -07:00
Jonathon Anderson
87b55a2a79 Merge pull request #942 from mslacken/ContainerShSymlink
import symlinked /bin/sh
2023-12-09 02:01:38 -07:00
Christian Goll
d23e67970d Support importing container with symlinked shell
Fixes #797

Signed-off-by: Christian Goll <cgoll@suse.com>
2023-12-09 01:59:05 -07:00
Jonathon Anderson
45e3ebd1f5 Merge pull request #961 from mslacken/FixInitOverridesConf
moved initialization of ConfigFile to New()
2023-12-09 01:51:28 -07:00
Christian Goll
8323cb8aa7 moved initialization of ConfigFile to New()
setting the ConfigFile (location of nodes.conf) in init()
led to the situation that a configured Paths.Sysconfdir is ignored.

Signed-off-by: Christian Goll <cgoll@suse.com>
2023-12-09 01:47:15 -07:00
Jonathon Anderson
038329ebce Remove ipxe binaries and configure for Rocky Linux
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-09 01:29:48 -07:00
Christian Goll
7e1cb014c2 use distribution ipxe binaries
exclude .github and .vscode for make dist
honor git tag when generating spec file

Signed-off-by: Christian Goll <cgoll@suse.com>
2023-12-08 22:38:57 -07:00