Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds pre/post boot and node roles #2474

Merged
merged 1 commit into from
Sep 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions projects/aws/image-builder/builder/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ type VsphereConfig struct {
RhelConfig
ProxyConfig
ExtraPackagesConfig
ExtraOverridesConfig
}

type BaremetalConfig struct {
Expand All @@ -79,6 +80,7 @@ type BaremetalConfig struct {
RhelConfig
ProxyConfig
ExtraPackagesConfig
ExtraOverridesConfig
}

type CloudstackConfig struct {
Expand All @@ -87,6 +89,7 @@ type CloudstackConfig struct {
RhelConfig
ProxyConfig
ExtraPackagesConfig
ExtraOverridesConfig
}

type IsoConfig struct {
Expand Down Expand Up @@ -114,6 +117,7 @@ type NutanixConfig struct {
NutanixSubnetName string `json:"nutanix_subnet_name"`
ProxyConfig
ExtraPackagesConfig
ExtraOverridesConfig
}

type AMIConfig struct {
Expand All @@ -130,6 +134,7 @@ type AMIConfig struct {

ProxyConfig
ExtraPackagesConfig
ExtraOverridesConfig
}

type ExtraPackagesConfig struct {
Expand All @@ -154,3 +159,12 @@ type RhsmConfig struct {
ActivationKey string `json:"rhsm_activation_key,omitempty"`
OrgId string `json:"rhsm_org_id,omitempty"`
}

type ExtraOverridesConfig struct {
FirstbootCustomRolesPre string `json:"firstboot_custom_roles_pre,omitempty"`
FirstbootCustomRolesPost string `json:"firstboot_custom_roles_post,omitempty"`
NodeCustomRolesPre string `json:"node_custom_roles_pre,omitempty"`
NodeCustomRolesPost string `json:"node_custom_roles_post,omitempty"`
DisablePublicRepos string `json:"disable_public_repos,omitempty"`
ReenablePublicRepos string `json:"reenable_public_repos,omitempty"`
}