---
# System prepended metadata

title: 20210810 testing coreos-installer --copy-network

---

# 20210810 testing coreos-installer --copy-network

- create Ignition config for live ISO boot
    - creates `/etc/NetworkManager/foo.nmconnection` file
        - options A: static IP, B: dhcp + unique nameserver (8.8.8.8)
        - tips on how to create these files: https://docs.fedoraproject.org/en-US/fedora-coreos/sysconfig-network-configuration/
    - creates secondary ignition config (secondary.ign) for first boot of installed machine
        - could be as simple as just an SSH key
    - executes coreos-installer --copy-network --ignition-file=secondary.ign /dev/sda
        - example https://dustymabe.com/2020/04/04/automating-a-custom-install-of-fedora-coreos/
- embed ignition config into ISO
    - coreos-installer iso embed --ignition-file
        - https://coreos.github.io/coreos-installer/cmd/iso/#coreos-installer-iso-ignition-embed
- boot ISO
- check nmconnection file exists with same contents
- optional: check that settings got applied (static IP OR nameserver)