Commit Graph

670 Commits

Author SHA1 Message Date
Christian Goll
2805122c12 Merge pull request #1053 from JasonYangShadow/issue/447_refactor
add multiple formats support
2024-03-19 10:08:15 +01:00
Xu Yang
16183e603c add multiple formats support
Signed-off-by: Xu Yang <xyang@ciq.com>
2024-03-19 01:48:08 -06:00
Jonathon Anderson
7099b08db5 Replace slice in templates with sprig substr
sprig replaces slice with a function that only operates on sprig lists.
substr is required for use with strings.

- Fixes: #1139

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-03-17 14:51:18 -06:00
Xu Yang
d78af656de upgrade minimum golang version
Signed-off-by: Xu Yang <xyang@ciq.com>
2024-03-15 02:35:49 -06:00
Jonathon Anderson
5e686fec43 Update changelog
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-03-12 13:53:20 -06:00
Jonathon Anderson
280a26d94f Fix changelog from previous commits
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-03-12 13:52:18 -06:00
Timothy Middelkoop
44c8a24ba8 Merge branch 'main' into tm-wwid-raspberry-pi 2024-03-12 12:51:54 -05:00
Christian Goll
975e75afae Merge pull request #1091 from riederd/ignore-unmanaged-nw-interfaces
Prevent Networkmanager from trying to obtain IP address via DHCP
2024-03-12 09:52:27 +01:00
Dietmar Rieder
3bc02b5b6a Fix typos
Signed-off-by: Dietmar Rieder <dietmar.rieder@i-med.ac.at>
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-03-12 09:50:18 +01:00
Dietmar Rieder
feb86ce11a Prevent Networkmanager from trying to optain IP address via DHCP
on unused/unmanaged network interfaces. Only act on interfaces.
configured via wwctl otherwise system NetworkManager-wait-online.service.
runs into a time out.
2024-03-12 09:47:34 +01:00
Jonathon Anderson
7d8f0e11cd Update the Warewulf glossary
- Closes #819

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-03-11 21:47:29 -06:00
Yong Qin
446f81b4cc Updated CHANGELOG.md.
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-03-11 11:07:07 +01:00
Timothy Middelkoop
d54c47f0e8 Add a Changelog entry for PR #1109
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-03-11 10:25:52 +01:00
John Hanks
a9d1c947d4 Updating CHANGELOG.
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-03-11 09:41:37 +01:00
Jonathon Anderson
6a8f0022db Fix a typo in CHANGELOG.md 2024-03-10 20:41:44 -06:00
Jonathon Anderson
485eb5ab39 Update CHANGELOG.md for v4.5.0 2024-03-09 23:28:19 -07:00
Jonathon Anderson
cb0ed21d2f Update CHANGELOG.md for v4.5.x doc publication
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-03-09 20:20:07 -07:00
Jonathon Anderson
0d32bea079 Add imminent v4.5.0 release to CHANGELOG
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-03-09 20:01:38 -07:00
Jonathon Anderson
90c501709c Update CHANGELOG for v4.5.0
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-03-09 17:44:06 -07:00
Timothy Middelkoop
20bc02eed9 Changelog entry for PR #1112
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2024-02-28 10:51:00 -06:00
Christian Goll
b387c86e6e contruct network from nodeInfo not NodeConf
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-02-21 10:43:59 +01:00
Dietmar Rieder
f17ba7c62b Make mounting into sub-directoies work fixes #1073 2024-02-19 14:28:49 +01:00
Jonathon Anderson
6cc13455f6 Move overlays to rootfs and and set ownership
Move all overlay contents to a rootfs subdirectory, which was already
supported, and set ownership to root:root.

Closes #1078

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-02-17 10:39:06 -07:00
Christian Goll
515b976fa2 4.5.0-rc1 relase
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-02-17 10:22:44 -07:00
Jonathon Anderson
b68a0faf6d Remove redundant wwclient startup script
80-wwclient was previously supplanted by 80-wwclient.ww, but the static
version was retained. Meanwhile, the static version can only detect
systemd when it is running, which it isn't during wwinit. This led to
wwclient starting during wwinit and then being killed by systemd.

Closes #1066

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-02-17 02:52:11 -07:00
Christian Goll
31d02e5865 Added installation instructions for dnsmasq
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-02-17 02:20:33 -07:00
Christian Goll
353a3f64a6 added documentation for additional networks
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-02-17 02:11:42 -07:00
Christian Goll
1fca0057d3 updated WW_INTERNAL to 45 for 4.5.x release
Internal version update is necessary as new structures were added,
most obviously the disk, partitions and file system structures.
Old configurations will work as expected.

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-02-16 20:12:51 -07:00
Christian Goll
24cb00e068 removed doubled entries form conf.Path
tftp.tftproot was also avlailable under paths.tftdir, removed
paths.tftpdir

warewulfconf.datastore was also availbale under
paths.datadir, remove paths.datadir

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-02-16 17:38:34 -07:00
Xu Yang
085b413d63 Add dns configuration to network overlays
Closes #922

Signed-off-by: Xu Yang <xyang@ciq.com>
2024-02-16 17:19:47 -07:00
xu yang
be3a5b38e2 update changelog
Signed-off-by: xu yang <xyang@ciq.com>
2024-02-14 21:18:41 -07:00
jason yang
4072730172 add container build after container sync
Signed-off-by: jason yang <xyang@ciq.com>
2024-02-14 21:18:41 -07:00
Christian Goll
4a2969f298 Merge pull request #1071 from riederd/main
Enable creating a bonding network interface
2024-02-07 09:00:40 +01:00
Christian Goll
dcb21af5ba added check if commas can be set
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-02-06 23:16:59 -07:00
Xu Yang
9d7365e34d uniform the shebang usage
Signed-off-by: Xu Yang <xyang@ciq.com>
2024-02-06 20:35:23 -07:00
Dietmar Rieder
3a9654b6ad Document creating of bonded network interfaces
Signed-off-by: Dietmar Rieder <dietmar.rieder@i-med.ac.at>
2024-02-06 15:36:19 +01:00
Xu Yang
74480ab494 fix the bug that configuration expects CIDR format
Signed-off-by: Xu Yang <xyang@ciq.com>
2024-01-30 21:20:10 -07:00
xu yang
7746854732 Fix error when editing node
Signed-off-by: xu yang <xyang@ciq.com>
2024-01-30 17:10:52 -07:00
griznog
eaa8ee592f Update changelog. 2024-01-26 09:09:09 -06:00
jason yang
c0b9c0996a move hostlist code into internal folder
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2024-01-24 22:00:07 -07:00
jason yang
8f7b8b641b change message level from warn to debug
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2024-01-24 21:36:19 -07:00
Jonathon Anderson
69e9cf7e85 Merge pull request #1022 from JasonYangShadow/issue/583
add container rename support
2024-01-24 19:59:41 -07:00
jason yang
d0b396b89c fix tag ignored issue
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2024-01-24 15:25:48 -07:00
jason yang
d262ec10ef Add container rename support
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2024-01-24 15:11:16 -07:00
Jonathon Anderson
5d6ef1882d Remove whitespace damage
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-21 00:18:38 -07:00
Christian Goll
36686d4455 fixed kmod creation
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 23:23:15 -07:00
Christian Goll
d6ef1a86ce prpfiles can be exluded with ~ prefix
Used the ~ as prefix as ! will mess up with yaml syntax

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 22:04:05 -07:00
Christian Goll
85eaa20708 overlays from different profiles are merged
If a node contains several profiles and these profiles have
overlays attached, these profiles are now merged. Overlays
can't be excluded as this can not be displayed to the user

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 21:51:05 -07:00
Jonathon Anderson
1c87ce1367 Remove automatic setting of default container
Since grub support no longer depends on a default container, no longer
automatically set default container on import.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-17 18:02:04 -07:00
Christian Goll
725176cfed cleanup code after review
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00