!VhbWwlUdjHkamKnfrK:nixos.org

Nix: Cloud Native

188 Members
52 Servers

Load older messages


SenderMessageTime
15 Nov 2023
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.16:13:00
@grahamc:nixos.org@grahamc:nixos.org left the room.16:13:01
@mjolnir:nixos.orgmjolnirchanged room power levels.18:12:24
@mjolnir:nixos.orgmjolnirchanged room power levels.18:12:24
@brokenpip3:matrix.org@brokenpip3:matrix.org joined the room.22:18:33
16 Nov 2023
@a-kenji:matrix.orga-kenji joined the room.17:27:13
18 Nov 2023
@tpankrath:matrix.orgTobias PankrathCan someone explain the difference between azure-common.nix and azure-image.nix to me, esp. what does this do: 16:17:15
@tpankrath:matrix.orgTobias Pankrath

/nix/store/6xysgagcyklifd0mlayli4jmx22173h5-source/nixos/modules/virtualisation/azure-image.nix

16:17:33
@tpankrath:matrix.orgTobias Pankrath
system.build.azureImage = import ../../lib/make-disk-image.nix {
  name = "azure-image";
  postVM = ''
    ${pkgs.vmTools.qemu}/bin/qemu-img convert -f raw -o subformat=fixed,force_size -O vpc $diskImage $out/disk.vhd
    rm $diskImage
  '';
  configFile = ./azure-config-user.nix;
  format = "raw";
  inherit (cfg) diskSize;
  inherit config lib pkgs;
};
16:17:58
@ggpeti:bassin.clubggpeti I'd be happy to read your musings Tobias Pankrath, feel free to explain it yourself :) 16:27:15
@tpankrath:matrix.orgTobias Pankrath Dunno, I cannot find any usage of it in my configuration. There is system.build.toplevel and system.build.isoImage shows up in the documentation as well. 16:49:23
@tpankrath:matrix.orgTobias PankrathMaybe it's unused for the nixos config and just for building it directly, if one wants that image. 16:50:00
@tpankrath:matrix.orgTobias Pankrath Does nixosGenerators use it by convention? But doesn't show up in a code search there as well. 16:51:29
@tpankrath:matrix.orgTobias Pankrath

When a VM is first provisioned on Azure, the Azure host presents a 'provisioning cdrom iso disk' to the VM. This provisioning disk is usually presented to the VM through /dev/sr0.

Maybe the image stuff (the other parts in the file as well, e.g. the collection of the ssh keys) is only for the very first boot of a newly provisioned vm? (And thus later configuration for the machine should only use azure-common).

17:30:59
@tpankrath:matrix.orgTobias PankrathAt least mounting the cdrom does not work on subsequent reboots 17:31:11
19 Nov 2023
@zxgu:matrix.orgZXGU joined the room.10:58:40
22 Nov 2023
@zarel_it:matrix.org@zarel_it:matrix.org joined the room.09:35:51
30 Nov 2023
@v:meowy.tech@v:meowy.tech left the room.22:47:08
1 Dec 2023
@lotte:chir.rs@lotte:chir.rs changed their profile picture.09:39:12
@moritz.hedtke:matrix.orgMoritz Hedtke set their display name to Moritz Hedtke.11:08:16
5 Dec 2023
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their profile picture.00:38:57
8 Dec 2023
@mbork91:matrix.orgMorten Bryne Matthiesen joined the room.12:47:19
15 Dec 2023
@ultra:beeper.comAlex S changed their profile picture.21:02:40
18 Dec 2023
@ultra:beeper.comAlex S changed their profile picture.06:50:05
23 Dec 2023
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius to raitobezarius (DECT 2128).22:22:30
24 Dec 2023
@nbp:mozilla.org@nbp:mozilla.org joined the room.13:45:42
@nbp:mozilla.org@nbp:mozilla.org left the room.13:47:17
27 Dec 2023
@lotte:chir.rs@lotte:chir.rs changed their profile picture.09:12:18
@mtheil:scs.ems.hostMarkus Theil changed their display name from Markus Theil to Markus Theil (DECT 5139).13:05:52
@mtheil:scs.ems.hostMarkus Theil changed their display name from Markus Theil (DECT 5139) to Markus Theil (DECT 5139, SIP 8492).16:49:22

Show newer messages


Back to Room ListRoom Version: 6