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
Gregory Kurtzer
7be47333c6
Changed defaults for root and kernel args
2020-12-21 18:44:57 -08:00
Gregory Kurtzer
2b269d3db7
Added kernel args for node and profile command.
2020-12-21 18:44:29 -08:00
Gregory Kurtzer
98e03162d3
Set vi as default editor is none is defined
2020-12-20 22:56:32 -08:00
Gregory Kurtzer
e5be3d8182
Cleaned init subsystem, Ipmi, SELinux, added Root option, and fixed defaults
2020-12-20 22:41:02 -08:00
Gregory Kurtzer
1161f051f1
fix broken initramfs tmpfs and refactor initramfs init sequence
2020-12-20 11:54:25 -08:00
Gregory Kurtzer
90157e340a
Set the HISTFILE to /dev/null so we don't rebuild containers on every exec
2020-12-19 21:06:04 -08:00
Gregory Kurtzer
d9b21df38e
Include the NFS configure command
2020-12-19 21:05:44 -08:00
Gregory Kurtzer
f76c663041
Automatically configure NFS and add a fstab in the system overlay
2020-12-19 21:05:15 -08:00
Gregory Kurtzer
5ec1988029
Use the new network instead of doing this logic in the CLI
2020-12-19 21:03:44 -08:00
Gregory Kurtzer
5e8ef337d0
Add network as part of the warewulfconf (figure it out if undef)
2020-12-19 21:03:01 -08:00
Gregory Kurtzer
668fbb8fb1
Add new configure commands
2020-12-19 00:40:54 -08:00
Gregory Kurtzer
9889bbd92c
Configure ssh keys
2020-12-19 00:40:40 -08:00
Gregory Kurtzer
2ac2625b29
Add basic NFS configure command template
2020-12-19 00:40:05 -08:00
Gregory Kurtzer
7af8b03cf7
Add ability to configure host file on the controller node
2020-12-19 00:39:19 -08:00
Gregory Kurtzer
5c354af31d
Don't error/warn when file isn't found
2020-12-19 00:38:48 -08:00
Gregory Kurtzer
d91673290c
Merge branch 'main' of github.com:ctrliq/warewulf into main
2020-12-18 22:51:38 -08:00
Gregory Kurtzer
69e6ffaad9
Starting configure CLI for hosts and nfs
2020-12-18 22:51:17 -08:00
Ian Kaneshiro
c3281ec333
Rework batch package
...
Use a buffered channel to limit the number of active goroutines without needing
to wait for all active goroutines to finish
2020-12-18 19:17:15 -08:00