Commit Graph

2066 Commits

Author SHA1 Message Date
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
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
Christian Goll
8cbeb25c8b seperate the path for the iPXE binaries
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-12-08 22:38:43 -07:00
Jonathon Anderson
691f9875f5 Merge pull request #960 from mslacken/OverlayPaths
propagate paths to overlays and use for wwclient
2023-12-08 21:20:44 -07:00
Jonathon Anderson
64d0d54c92 Fix some formatting errors with make fmt
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-08 21:18:14 -07:00
Christian Goll
183f8e479c Propagate paths to overlays and use for wwclient
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-12-08 21:09:47 -07:00
Christian Goll
aa75d3856d Merge pull request #1008 from JasonYangShadow/add_git_tag
add git tag to nightly release
2023-12-07 13:11:53 +01:00
jason yang
163b0aa4f4 add git tag to nightly release
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-12-07 11:53:24 +00:00
Christian Goll
8ecaf9ed95 Merge pull request #1007 from JasonYangShadow/hotfix-nightly
[hotfix for nightly release]remove update_latest_release
2023-12-07 08:41:38 +01:00
jason yang
618ba74b8b add workflow_dispatch
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-12-07 03:50:09 +00:00
jason yang
a0cea0f74e remove update_latest_release tag
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-12-07 02:43:54 +00:00
Christian Goll
9c798bb13d Merge pull request #1005 from JasonYangShadow/issue/969
add nightly release support
2023-12-06 14:18:18 +01:00
jason yang
3fd2899b1f add nightly release support
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-12-06 13:17:22 +00:00
Christian Goll
2196417b79 Merge pull request #999 from buzh/development
Add option to change ipmitool escape char
2023-12-05 08:00:33 +01:00
Andreas Skau
c635fecbc6 Almost missed a : 2023-12-04 22:18:13 +01:00
Andreas Skau
663f2e64ec Removed deprecated Sets as requested in PR#999 2023-12-04 22:08:06 +01:00
Andreas Skau
b574ac03ac Went through PR checklist 2023-12-04 16:11:10 +01:00
Andreas Skau
10976a7e5d Delinted 2023-12-04 15:58:26 +01:00
Andreas Skau
214848c75e Add IPMI escape char functionality 2023-12-04 15:42:01 +01:00
Christian Goll
dd4c14e2eb Merge pull request #994 from hpcng/make-variables-consistent-with-specfile
Make WWPROVISIONDIR a first class citizen of the local/shared state location.
2023-11-27 09:27:41 +01:00