Commit Graph

43 Commits

Author SHA1 Message Date
Christian Goll
9d80a71cd8 will exec /usr/bin/bash if no cmd is provided 2022-01-31 17:06:56 +01:00
MatthewHink
cf090823a3 Fix container build --all. #215.
We didn't need to add an arg check here because it's already there.
2022-01-27 15:30:36 -05:00
Christian Goll
b426482d82 need valid url or dir to import something 2022-01-18 15:46:01 +01:00
jcsiadal
a1619e2d03 Fix misspelled command
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2021-12-04 01:47:14 +00:00
jcsiadal
0b93d6c277 Update help
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2021-11-08 11:36:21 -08:00
Christian Goll
8010cd2435 dynamic nouns for 'wwwctl container' 2021-09-24 14:36:23 +02:00
Michael L. Young
0020d529b9 Fix panic when failing to include the command to be run by the
'container exec' command.

Update documentation for the 'container exec' command.
2021-09-20 16:57:01 -04:00
Gregory Kurtzer
e679fa24fa Cleanup container list command 2021-09-11 21:23:30 -07:00
Gregory M. Kurtzer
4b5e3fd6eb Merge pull request #117 from WestleyK/remove_commented_code
Remove commented test code
2021-09-08 16:12:09 -07:00
WestleyR
cab2d4a316 Remove commented test code
Seems to be extra test code from
09a83ff904.
2021-09-08 14:12:20 -07:00
Gregory Kurtzer
84c0c72219 MS_REC added to MS_PRIVATE mount on root 2021-09-08 11:52:22 -07:00
Gregory Kurtzer
09a83ff904 Container exec fixups 2021-09-08 11:40:14 -07:00
WestleyR
4edc16953e Fix linting issues 2021-09-07 20:48:51 -07:00
Gregory Kurtzer
4c8edc16fe Changed API name to valid path 2021-09-02 15:34:19 -07:00
Gregory Kurtzer
ed64386b8b remove debug print 2021-09-01 21:20:50 -07:00
Gregory Kurtzer
caf9f4b80f Have more intelligence on splitting bind paths 2021-09-01 21:13:46 -07:00
Gregory Kurtzer
198791fb10 add default and sane path to container exec 2021-09-01 19:26:38 -07:00
Gregory Kurtzer
fc7182d7bd Don't bind resolv.conf, copy on import 2021-09-01 19:23:13 -07:00
Gregory Kurtzer
371767daed Merge branch 'main' of github.com:hpcng/warewulf into cleanups 2021-08-22 19:10:09 -07:00
Gregory Kurtzer
a82e1b0ea5 Fixed formatting across entire project 2021-08-21 08:04:47 -07:00
Gregory Kurtzer
cf45e5b8f6 Removing another debug Println() 2021-08-20 18:21:26 -07:00
Gregory Kurtzer
b3027e44ba Missed a debug Println() 2021-08-20 18:19:37 -07:00
Gregory Kurtzer
7826f69656 Support binds in container exec command
This addresses issue #88.
2021-08-20 14:16:16 -07:00
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