How to create a preseed file for 'sunbeam configure --preseed ...' ?

Hi! When setting up MicroStack the sunbeam tool provides the option to consume what looks like a pre-defined configuration via a preseed file. I’m unable to find any information on how this preseed file has to look like (file type, expected content, etc.) and not the slightest further hint on any docs on that.

I think the content must be closely related to the ‘Configure the Cloud’ step in MicroStack - Single-node guided . But no idea about the details.

1 Like

found this

ubuntu@hyper11:~$ sunbeam generate-preseed

addons:
  # MetalLB address allocation range
  metallb: 10.20.21.10-10.20.21.20
user:
  # Populate OpenStack cloud with demo user, default images, flavors etc
  run_demo_setup: True
  # Username to use for access to OpenStack
  username: demo
  # Password to use for access to OpenStack
  password: fT6y9CKIWAAN
  # Network range to use for project network
  cidr: 192.168.122.0/24
  # Enable ping and SSH access to instances?
  security_group_rules: True
  # Local or remote access to VMs
  remote_access_location: local
# Local Access
external_network:
  # CIDR of OpenStack external network - arbitrary but must not be in use
  cidr: 10.20.20.0/24
  # Start of IP allocation range for external network
  start: 
  # End of IP allocation range for external network
  end: 
  # Network type for access to external network
  network_type: flat
  # VLAN ID to use for external network
  segmentation_id: 
# # Remote Access
# external_network:
#   # CIDR of network to use for external networking
#   cidr: 10.20.20.0/24
#   # IP address of default gateway for external network
#   gateway: 
#   # Start of IP allocation range for external network
#   start: 
#   # End of IP allocation range for external network
#   end: 
#   # Network type for access to external network
#   network_type: flat
#   # VLAN ID to use for external network
#   segmentation_id: 
#   # Free network interface that will be configured for external traffic
#   nic: 
# MicroCeph config
microceph_config:
  hyper11:
    # Disks to attach to MicroCeph
    osd_devices:
2 Likes