You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: toolkit/tools/imagecustomizer/main.go
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -18,14 +18,15 @@ import (
18
18
)
19
19
20
20
typeCustomizeCmdstruct {
21
-
BuildDirstring`name:"build-dir" help:"Directory to run build out of." required:""`
22
-
InputImageFilestring`name:"image-file" help:"Path of the base Azure Linux image which the customization will be applied to."`
23
-
OutputImageFilestring`name:"output-image-file" help:"Path to write the customized image to."`
24
-
OutputImageFormatstring`name:"output-image-format" placeholder:"(vhd|vhd-fixed|vhdx|qcow2|raw|iso|cosi)" help:"Format of output image." enum:"${imageformat}" default:""`
25
-
ConfigFilestring`name:"config-file" help:"Path of the image customization config file." required:""`
26
-
RpmSources []string`name:"rpm-source" help:"Path to a RPM repo config file or a directory containing RPMs."`
27
-
DisableBaseImageRpmReposbool`name:"disable-base-image-rpm-repos" help:"Disable the base image's RPM repos as an RPM source."`
28
-
OutputPXEArtifactsDirstring`name:"output-pxe-artifacts-dir" help:"Create a directory with customized image PXE booting artifacts. '--output-image-format' must be set to 'iso'."`
21
+
BuildDirstring`name:"build-dir" help:"Directory to run build out of." required:""`
22
+
InputImageFilestring`name:"image-file" help:"Path of the base Azure Linux image which the customization will be applied to."`
23
+
OutputImageFilestring`name:"output-image-file" help:"Path to write the customized image to."`
24
+
OutputImageFormatstring`name:"output-image-format" placeholder:"(vhd|vhd-fixed|vhdx|qcow2|raw|iso|cosi)" help:"Format of output image." enum:"${imageformat}" default:""`
25
+
ConfigFilestring`name:"config-file" help:"Path of the image customization config file." required:""`
26
+
RpmSources []string`name:"rpm-source" help:"Path to a RPM repo config file or a directory containing RPMs."`
27
+
DisableBaseImageRpmReposbool`name:"disable-base-image-rpm-repos" help:"Disable the base image's RPM repos as an RPM source."`
28
+
OutputIsoInitrdSelfContainedbool`name:"output-iso-initrd-self-contained" help:"Output a self-conftained initrd for the ISO/PXE scenarios."`
29
+
OutputPXEArtifactsDirstring`name:"output-pxe-artifacts-dir" help:"Create a directory with customized image PXE booting artifacts. '--output-image-format' must be set to 'iso'."`
0 commit comments