Commit Graph

20 Commits

Author SHA1 Message Date
Gregory Kurtzer
dcea5ece28 Minor bug with removing container name if import fails. Fixed. 2021-03-06 18:32:29 -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
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
72b1d8c9d8 UI Updates with a few minor fixups scattered here and there 2021-01-14 20:23:42 -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
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
c53c97dbcf Created template for server process subcommands 2020-12-10 20:57:32 -08:00
Gregory Kurtzer
f9ebd8cf4b Added container delete command 2020-12-07 19:42:14 -08:00
Gregory Kurtzer
94f6154f68 Minor fixup of variable nomenclature 2020-12-07 13:56:01 -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
9de9778648 Add bind points for /dev/ and /etc/resolv.conf into the container when exec'ing 2020-12-06 10:00:04 -08:00
Gregory Kurtzer
bbfe1023e9 Add file for non-Linux placeholder. 2020-12-06 09:39:48 -08:00
Gregory Kurtzer
3041fcac6b Added wwctl container exec ... feature 2020-12-06 09:33:36 -08:00
Gregory Kurtzer
6c1c9d1769 Not sure why my .gitignore is causing some files to be skipped... Have to look into that. 2020-12-06 01:11:57 -08:00