Packer.Images/scripts/Update-OvfConfiguration.yml

163 lines
4.1 KiB
YAML
Raw Normal View History

DeploymentConfigurations:
- Id: primary
2021-02-11 15:56:19 +00:00
Label: Primary (redundant deployment)
Description: Initial Domain Controller with 'PDC Emulator'-role
- Id: secondary
2021-02-11 15:56:19 +00:00
Label: Secondary (redundant deployment)
Description: Additional Domain Controller
- Id: standalone
2021-02-11 15:56:19 +00:00
Label: Stand-alone (non-redundant deployment)
Description: Single Domain Controller
PropertyCategories:
- Name: ''
ProductProperties:
- Key: deployment.type
Type: string
Value:
- primary
- secondary
- standalone
UserConfigurable: false
- Name: 1) Operating System
ProductProperties:
- Key: guestinfo.hostname
Type: string(1..15)
Label: Hostname*
Description: '(max length: 15 characters)'
DefaultValue: ''
Configurations: '*'
UserConfigurable: true
- Name: 2) Networking
ProductProperties:
- Key: guestinfo.ipaddress
Type: ip
Label: IP Address*
Description: ''
DefaultValue: ''
Configurations: '*'
UserConfigurable: true
- Key: guestinfo.prefixlength
Type: int(8..32)
Label: Subnet prefix length*
Description: ''
DefaultValue: '24'
Configurations: '*'
UserConfigurable: true
- Key: guestinfo.dnsserver
Type: ip
Label: DNS server*
Description: Specify IP address of existing primary Domain Controller
DefaultValue: '127.0.0.1'
Configurations:
- secondary
UserConfigurable: true
- Key: guestinfo.gateway
Type: ip
Label: Gateway*
Description: ''
DefaultValue: ''
Configurations: '*'
UserConfigurable: true
- Name: 3) Active Directory Domain Services
ProductProperties:
- Key: addsconfig.domainname
Type: string(5..)
Label: Domain name*
Description: 'Must be a valid FQDN'
DefaultValue: ''
Configurations: '*'
UserConfigurable: true
- Key: addsconfig.netbiosname
Type: string(1..15)
Label: Domain short name (NetBIOS)*
Description: '(max length: 15 characters)'
DefaultValue: ''
Configurations: '*'
UserConfigurable: true
- Key: addsconfig.administratorpw
Type: password(7..)
Label: Domain Administrator password*
Description: Must meet password complexity rules
DefaultValue: ''
Configurations: '*'
UserConfigurable: true
- Key: addsconfig.safemodepw
Type: password(7..)
Label: Safe-mode password*
Description: Must meet password complexity rules
DefaultValue: ''
Configurations: '*'
UserConfigurable: true
- Key: addsconfig.ntpserver
Type: string(1..)
Label: Time server*
Description: A comma-separated list of upstream timeservers
DefaultValue: 0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org
Configurations:
- primary
- standalone
UserConfigurable: true
- Name: 4) DHCP default scope
ProductProperties:
- Key: dhcpconfig.startip
Type: ip
Label: Start IP address
Description: ''
DefaultValue: '0.0.0.0'
Configurations:
- secondary
- standalone
UserConfigurable: true
- Key: dhcpconfig.endip
Type: ip
Label: End IP address
Description: ''
DefaultValue: '0.0.0.0'
Configurations:
- secondary
- standalone
UserConfigurable: true
- Key: dhcpconfig.subnetmask
Type: ip
Label: Subnet mask
Description: ''
DefaultValue: '255.255.255.0'
Configurations:
- secondary
- standalone
UserConfigurable: true
- Key: dhcpconfig.gateway
Type: ip
Label: Gateway IP address
Description: ''
DefaultValue: '0.0.0.0'
Configurations:
- secondary
- standalone
UserConfigurable: true
- Key: dhcpconfig.leaseduration
Type: string(1..)
Label: Lease duration
Description: 'Enter as timestamp format (DD.HH:MM:SS.FFFF), or as a number of seconds'
DefaultValue: '01:00:00.00'
Configurations:
- secondary
- standalone
2021-01-27 11:32:52 +00:00
UserConfigurable: true
AdvancedOptions:
- Key: appliance.name
Value: "{{ appliance.name }}"
Required: false
- Key: appliance.version
Value: "{{ appliance.version }}"
Required: false
---
Variables:
- Name: appliance.name
Expression: |
$Parameter['appliance.name']
- Name: appliance.version
Expression: |
$Parameter['appliance.version']