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
64d1a24cd9
Added container command alias for 'vnfs'
2021-02-24 20:59:41 -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
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
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
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
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
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
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
Shannon V. Davidson
e177bfdb90
Added parallel batching, IPMI power cycle, sensors, and console
2020-12-18 18:57:03 -06:00
Gregory Kurtzer
13fad167a4
Starting ssh configure scripts
2020-12-15 21:29:28 -08:00
Shannon V. Davidson
cb8336be8c
Merge branch 'main' of github.com:ctrliq/warewulf into main
2020-12-14 09:14:19 -06:00
Gregory Kurtzer
ba5887555d
Minor bugfix on default template.
2020-12-13 23:38:22 -08:00
Gregory Kurtzer
62a1abaab3
Cleanups and minor fixups
2020-12-13 22:45:08 -08:00
Gregory Kurtzer
487f45f7a9
Optimizing pull to automatically build the VNFS and set default if requested
2020-12-13 20:35:47 -08:00
Gregory Kurtzer
5c23ef9f94
Fininshed with node discovery and service refactoring
2020-12-13 20:20:03 -08:00
Gregory Kurtzer
f1706a4a0e
Daemon updates, backgrounding, and CLI integration
2020-12-12 23:50:38 -08:00
Gregory Kurtzer
90246f227f
Moved warewulfd commandline program into wwctl
2020-12-11 23:30:29 -08:00
Gregory Kurtzer
c53c97dbcf
Created template for server process subcommands
2020-12-10 20:57:32 -08:00
Gregory Kurtzer
a5e79ae560
Moved wwctl service to wwctl system
2020-12-10 20:57:02 -08:00
Shannon V. Davidson
643a69b75b
Added IpmiGateway in case of separate BMC and control network
2020-12-10 09:52:22 -06:00
Gregory Kurtzer
7798b6b1e7
Add the ability to do node discovery for unconfigured nodes.
2020-12-07 19:44:46 -08:00
Gregory Kurtzer
f9ebd8cf4b
Added container delete command
2020-12-07 19:42:14 -08:00