Commit Graph

202 Commits

Author SHA1 Message Date
Gregory Kurtzer
cc0f465eaf Remove tabs. 2021-04-20 13:05:12 -04:00
Gregory Kurtzer
000a759214 Merge branch 'issue56' of https://github.com/tcooper/warewulf into tcooper-issue56 2021-04-20 13:03:44 -04:00
Gregory M. Kurtzer
8909271c9d Merge pull request #55 from yqin/topic/kernel_delete
LGTM, thank you Yong!
2021-04-20 20:35:52 -07:00
Cooper, Trevor
ec4ec0e796 restart warewulfd after node and profile set commands 2021-04-15 12:40:36 -07:00
Cooper, Trevor
b7908d8747 add SetYes to node delete command 2021-04-15 08:05:28 -07:00
Cooper, Trevor
505ee9f32a add SetYes to profile delete command 2021-04-15 08:05:06 -07:00
Cooper, Trevor
cbb0e46bac add SetYes to profile set command 2021-04-15 02:19:38 -07:00
Yong Qin
a3e94473cb Added "kernel delete" command. 2021-04-07 15:23:37 -07:00
Yong Qin
0346d98d46 Fixed the bug with importing container/vnfs from a directory. 2021-04-07 11:25:57 -07:00
Brian Clemens
c59d66a18c Merge pull request #50 from paulscherrerinstitute/templateIncDec
Increment and decrement functions for templates
2021-03-28 19:21:18 +09:00
Niko Kivel
dc091263e2 additional functions for templates 2021-03-26 15:20:52 +01:00
Niko Kivel
89a6e9dc6f NIC type for profile-->set 2021-03-26 10:38:55 +01:00
Niko Kivel
3308e76083 NIC type for node-->add 2021-03-26 10:38:31 +01:00
Niko Kivel
09ba69cc79 NIC type for node-->set 2021-03-26 10:38:20 +01:00
Brian Clemens
4c379a3fe9 Merge pull request #47 from paulscherrerinstitute/netDevOverlay
Set .NetDevs.eth0.Default
2021-03-25 19:56:58 +09:00
Niko Kivel
ffe30a8113 missing netdev.Default in overlay 2021-03-24 15:12:19 +01:00
Niko Kivel
1d396df056 fixed problems with wrongly identified invalid characters 2021-03-18 11:30:33 +01:00
Gregory Kurtzer
902c6974c8 added "UNSET" and "UNDEF" (WW3 compat) to node object sets 2021-03-06 18:56:15 -08:00
Gregory Kurtzer
dcea5ece28 Minor bug with removing container name if import fails. Fixed. 2021-03-06 18:32:29 -08:00
Gregory Kurtzer
431c6d6891 Renamed vnfs.go to util.go 2021-03-06 18:27:21 -08:00
Gregory Kurtzer
455848463f If container import fails, delete the installed container dir (issue #28) 2021-03-06 18:18:40 -08:00
Gregory Kurtzer
78824d6e29 Fix for issue #30. Kernel version != kernel args. 2021-03-06 17:46:55 -08:00
Gregory Kurtzer
6cdf15abb5 Fix for issue #36. Debug option always takes precedence over verbose. 2021-03-06 17:45:14 -08:00
Gregory Kurtzer
b4a6e45b35 Fixed bug reported by John Linford on wwctl node list -n output 2021-02-28 21:02:13 -08:00
Gregory Kurtzer
6357e31438 Support container import of chroot directory 2021-02-24 21:01:56 -08:00
Gregory Kurtzer
5a07ac2e14 Cleaned container.Build() return 2021-02-24 21:01:35 -08:00
Gregory Kurtzer
8f049f9ba4 Added function for recursive file copy 2021-02-24 21:00:41 -08:00
Gregory Kurtzer
3998dff021 Allowed undescore character in container name 2021-02-24 21:00:15 -08:00
Gregory Kurtzer
64d1a24cd9 Added container command alias for 'vnfs' 2021-02-24 20:59:41 -08:00
Gregory Kurtzer
667c512bb7 Merge branch 'main' of github.com:ctrliq/warewulf into main 2021-02-23 19:54:04 -08:00
Gregory Kurtzer
33e68eaeac Minor fixups to daemon process and reloading the database on configuring a new node 2021-02-23 19:52:39 -08:00
Ian Kaneshiro
db28555165 Support OCI registry creds
Adds support to 3 environment variables:
- WAREWULF_OCI_USERNAME: registry user username
- WAREWULF_OCI_PASSWORD: registry user password
- WAREWULF_OCI_NOHTTPS: disable tls requirements (for local registries)

Note:
	This will default to ~/.docker/config.json for credentials and other docker
configurations on the system when no options are specified.
2021-02-16 18:11:23 -08:00
Ian Kaneshiro
846b45524c Tidy up
- Ran goimports to format code and imports
- Removed unused module from go.mod
- Added .editorconfig to keep formatting standard across contributors
2021-02-16 11:54:12 -08:00
Gregory Kurtzer
88dbec7ed9 Automatically reload daemon configuration file when configuration file is changed. 2021-02-12 23:00:03 -08:00
Gregory Kurtzer
e7c6fe3abe Add ability to reload config file for warewulfd on SIGHUP 2021-02-12 22:59:27 -08:00
Gregory Kurtzer
72321cf319 Typo fix 2021-02-12 22:58:35 -08:00
Gregory Kurtzer
d00ea3ba00 Index node database for daemon to make lookups always instantaneous 2021-02-12 22:58:22 -08:00
Gregory Kurtzer
30c6b64413 Support importing a kernel from a chroot directory 2021-02-04 18:06:46 -08:00
Gregory Kurtzer
e4ec4b0ffd Removed minimum args requirement so we can do `--all. 2021-02-04 18:06:15 -08:00
Niko Kivel
d1f80662a6 Fix configure hosts show emptying /etc/hosts and setpersist CLI variable in configure hosts
- Only open `/etc/hosts` when write intended
- Correct `SetPersist` CLI variable
2021-01-28 19:41:12 +09:00
Niko Kivel
4af728d6bf Use SystemOverlay when building system overlay
Use SystemOverlay when building system overlay
2021-01-28 10:02:43 +09:00
Niko Kivel
70735c144f dhcpPersist variable, update wwctl services to wwctl configure in default confs
* fixed wrong variable for kernel arguments
* fixed wrong variable for persistence
* fixed recreate command hint
2021-01-27 23:36:59 +09:00
Niko Kivel
fbc2f250ae fixed wrong variabel for kernel arguments 2021-01-26 22:53:18 +09:00
Gregory Kurtzer
72b1d8c9d8 UI Updates with a few minor fixups scattered here and there 2021-01-14 20:23:42 -08:00
Gregory Kurtzer
8a419f648b Properly configure a network device to be default 2020-12-22 21:51:05 -08:00
Gregory Kurtzer
01dd0e4ad7 Merge branch 'main' of https://github.com/svdavidson/warewulf into svdavidson-main 2020-12-22 21:28:21 -08:00
Gregory Kurtzer
7aee24e5c1 Clean up and optimize the node and profile sets 2020-12-22 21:18:38 -08:00
Gregory Kurtzer
780fb4faa8 Move the sort to the constructors. 2020-12-22 21:18:15 -08:00
Shannon V. Davidson
c43fcededc Back up /etc/hosts and allow local changes 2020-12-22 23:08:35 -06:00
Gregory Kurtzer
1c33650a80 Configure root and user's ssh keys as well as hosts keys 2020-12-21 21:11:40 -08:00