adding WAREWULF_OCI vars to wwctl

Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
Christian Goll
2024-01-30 12:21:01 +01:00
parent a9281e645f
commit 13349bbf66
6 changed files with 386 additions and 355 deletions

View File

@@ -15,13 +15,16 @@ func CobraRunE(cmd *cobra.Command, args []string) (err error) {
}
cip := &wwapiv1.ContainerImportParameter{
Source: args[0],
Name: name,
Force: SetForce,
Update: SetUpdate,
Build: SetBuild,
Default: SetDefault,
SyncUser: SyncUser,
Source: args[0],
Name: name,
Force: SetForce,
Update: SetUpdate,
Build: SetBuild,
Default: SetDefault,
SyncUser: SyncUser,
OciNoHttps: OciNoHttps,
OciUsername: OciUsername,
OciPassword: OciPassword,
}
_, err = apicontainer.ContainerImport(cip)