[18:42] Hello [18:42] Can I prevent the network config to be written after the first boot ? [18:46] Reventlov: *after* the 1st boot or during the 1st boot? [18:47] well, I need cloud-init to configure network only once, so I want to disable it after it has configured the network once [18:48] https://0x0.st/oapl.txt this is my conf right now, but i'm not sure which parts handle the network [18:48] which DataSource are you using? [18:49] also your config has "distro: nixos". I don't believe cloud-init currently has NixOS support so are you using someone's patched version of cloud-init? [18:50] config drive [18:51] the patch is provided by my distribution, yes: https://github.com/NixOS/nixpkgs/blob/634141959076a8ab69ca2cca0f266852256d79ee/pkgs/tools/virtualization/cloud-init/0001-add-nixos-support.patch [18:51] but that should not be such a problem, no ? [18:51] or maybe there is not a way to disable the network configuration that's standard across cloud-init ? [18:52] so where is the network config coming from? Unlike NoCloud I don't believe ConfigDrive support providing a network-config YAML file [18:53] well, i'm actually using proxmox that exposes the data as a /dev/sr0 in the system, isn't this configdrive ? [18:56] that can be either configdrive or nocloud - what's the ISO label? "cidata" or "configdrive" ? [18:56] oops s/configdrive/config-2/ [18:58] sr0 iso9660 cidata 2022-05-21-19-55-37-00 0 100% /mnt [18:58] that's NoCloud then [18:59] which can include a network-config file - is there one there? [19:03] assuming there is a network-config in the ISO then I believe it should only be used on 1st boot [19:04] that Nix packaging is 21.4, a couple of releases behind current, but it should still work as expected [19:30] Reventlov: ^^^ [19:35] i'm looking into that, that might be the nixos service that sucks, thanks for the details :) [19:35] (there is actually a network-config in the ISO) [19:44] so when you say you only want to configure the network once, what do you mean? the contents of the network-config file in the ISO should be applied. Is the contents changing on each reboot? === esv_ is now known as esv