Comment 33 for bug 2062988

Revision history for this message
Raymond van der velden (rayhvh) wrote :

Please help me out. I am using 24.04.1. Its still not working. I am trying to boot through pxe.

my config:

#cloud-config
chpasswd:
  expire: false
  list:
  - installer:Longstringhere
autoinstall:
  version: 1
  interactive-sections:
  - storage
  proxy: http://172.16.100.2:3142/
  apt:
    preserve_sources_list: false
    primary:
    - arches:
      - default
      uri: http://nl.archive.ubuntu.com/ubuntu/
    disable_suites: [backports]
    disable_components: [multiverse]
  ssh:
    install-server: true
    allow-pw: true
  debconf-selections: |
    popularity-contest popularity-contest/participate boolean false
  network:
    ethernets:
      $bootif:
        addresses:
        - 127.0.0.2/24
        match:
          macaddress: 22:22:33:44:55:66
        nameservers:
          addresses:
          - 172.16.100.3

        routes:
        - to: default
          via: 127.0.0.1
        accept-ra: false
        set-name: eno2
    version: 2
  updates: all
  late-commands:
  - rm /target/etc/apt/apt.conf.d/*proxy* /target/etc/systemd/system/snapd.service.d/*proxy*
  - sed -i -E 's/^#?PermitRootLogin [[:alpha:]]+-password/PermitRootLogin yes/' /target/etc/ssh/sshd_config
  - sed -i -E 's/^(GRUB_CMDLINE_LINUX_DEFAULT=)"(.+)"$/\1"\2 ipv6.autoconf=0"/g' /target/etc/default/grub
  - curtin in-target --target /target update-grub2
  user-data:
    users: []
    hostname: Hostameherer
    chpasswd:
      expire: false
      list:
      - root:logstringhere
    timezone: Europe/Amsterdam