| 1 | ## template: jinja |
| 2 | #cloud-config |
| 3 | # @see https://github.com/canonical/subiquity |
| 4 | autoinstall: |
| 5 | apt: |
| 6 | disable_components: [] |
| 7 | geoip: true |
| 8 | preserve_sources_list: false |
| 9 | primary: |
| 10 | - arches: |
| 11 | - amd64 |
| 12 | - i386 |
| 13 | uri: http://ca.archive.ubuntu.com/ubuntu |
| 14 | - arches: |
| 15 | - default |
| 16 | uri: http://ports.ubuntu.com/ubuntu-ports |
| 17 | drivers: |
| 18 | install: false |
| 19 | kernel: |
| 20 | package: linux-generic |
| 21 | keyboard: |
| 22 | layout: us |
| 23 | toggle: null |
| 24 | variant: '' |
| 25 | locale: en_US.UTF-8 |
| 26 | network: |
| 27 | ethernets: |
| 28 | enp1s0: |
| 29 | dhcp4: true |
| 30 | version: 2 |
| 31 | source: |
| 32 | id: ubuntu-server |
| 33 | search_drivers: false |
| 34 | ssh: |
| 35 | allow-pw: false |
| 36 | install-server: true |
| 37 | authorized-keys: |
| 38 | # yamllint disable-line rule:line-length |
| 39 | - 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBnCyGcahJXys7md2yb3jP8L6hLN3D72aZCzsqUrJDsC kstewart@laptop-kstewart' |
| 40 | # yamllint disable-line rule:line-length |
| 41 | - 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHVFn/ymsG8LqPvgVzyMaSVzYCVn/440ME8O6AzbZG39 mjeanson@laptop-mjeanson' |
| 42 | storage: |
| 43 | config: |
| 44 | - ptable: gpt |
| 45 | path: /dev/sda |
| 46 | wipe: superblock-recursive |
| 47 | preserve: false |
| 48 | name: '' |
| 49 | grub_device: true |
| 50 | type: disk |
| 51 | id: disk-sda |
| 52 | - device: disk-sda |
| 53 | size: 1048576 |
| 54 | flag: bios_grub |
| 55 | number: 1 |
| 56 | preserve: false |
| 57 | grub_device: false |
| 58 | offset: 1048576 |
| 59 | type: partition |
| 60 | id: partition-0 |
| 61 | - device: disk-sda |
| 62 | size: 85896200192 |
| 63 | wipe: superblock |
| 64 | number: 2 |
| 65 | preserve: false |
| 66 | grub_device: false |
| 67 | offset: 2097152 |
| 68 | type: partition |
| 69 | id: partition-1 |
| 70 | - fstype: ext4 |
| 71 | volume: partition-1 |
| 72 | preserve: false |
| 73 | type: format |
| 74 | id: format-0 |
| 75 | - path: / |
| 76 | device: format-0 |
| 77 | type: mount |
| 78 | id: mount-0 |
| 79 | updates: security |
| 80 | user-data: |
| 81 | fqdn: "{{ds.meta_data.hostname}}" |
| 82 | prefer_fqdn_over_hostname: true |
| 83 | users: |
| 84 | default: {} |
| 85 | version: 1 |