Commit Graph

320 Commits

Author SHA1 Message Date
Gregory Kurtzer
431c6d6891 Renamed vnfs.go to util.go 2021-03-06 18:27:21 -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
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
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
Niko Kivel
4af728d6bf Use SystemOverlay when building system overlay
Use SystemOverlay when building system overlay
2021-01-28 10:02:43 +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
01dd0e4ad7 Merge branch 'main' of https://github.com/svdavidson/warewulf into svdavidson-main 2020-12-22 21:28:21 -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
7be47333c6 Changed defaults for root and kernel args 2020-12-21 18:44:57 -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
5e8ef337d0 Add network as part of the warewulfconf (figure it out if undef) 2020-12-19 21:03:01 -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
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
9ff2530c0c Minor fixups from the Warewulf community meeting 2020-12-17 20:19:18 -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
62a1abaab3 Cleanups and minor fixups 2020-12-13 22:45:08 -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
0b0efa0637 Fix minor bug WRT top level container directory not being removed 2020-12-10 20:54:15 -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
dd1913c1de Backend for container delete 2020-12-07 19:43:56 -08:00
Gregory Kurtzer
28e66e8659 Added some debugging output for building overlays 2020-12-07 19:43:04 -08:00
Gregory Kurtzer
5c995f9d0f Added Init to datastructure, fixups to container interface, and --setdefault to kernel and container build 2020-12-06 22:29:25 -08:00
Gregory Kurtzer
8c11c2b304 Renamed vnfs to container, finished VNFS and kernel refactoring 2020-12-06 00:47:00 -08:00
Gregory Kurtzer
0095b55624 Updates around VNFS restructure and kernel restructure. More coming. 2020-12-05 16:43:30 -08:00
Gregory Kurtzer
4efb27a82f Added support for tftp service and updated service interface and config 2020-12-04 22:14:29 -08:00
Gregory Kurtzer
30a86ea8ac Include infrastructure for static files to be included in binary 2020-12-04 22:11:14 -08:00
Gregory Kurtzer
e80878b240 Changed DomainName to ClusterName 2020-12-03 19:37:52 -08:00
Gregory Kurtzer
df96dee6be Added a configurable update interval for WWClient 2020-12-03 19:14:40 -08:00
Gregory Kurtzer
4af41736ab Fixups for new API 2020-12-03 17:28:58 -08:00
Gregory Kurtzer
019b405758 Removed the YAML config parsing from here as it is now in warewulfconf 2020-12-03 17:27:52 -08:00
Gregory Kurtzer
4b285db614 Added a package for Warewulf config 2020-12-03 17:27:29 -08:00
Gregory Kurtzer
ec037228cc Changing node.conf structure and moved controllers out of this config 2020-12-03 17:26:51 -08:00
Gregory Kurtzer
84bf9fbb43 profile and node commands and DB all working as expected now 2020-12-03 13:49:49 -08:00
Gregory Kurtzer
eaf6bb1196 This is a work in progress API shift as the data structure has changed and I'm cleaning the interface. 2020-12-03 07:34:26 -08:00