15 Nov 2023 |
| @grahamc:nixos.orgchanged room power levels. | 16:13:00 |
| @grahamc:nixos.org left the room. | 16:13:01 |
| mjolnirchanged room power levels. | 18:12:24 |
| mjolnirchanged room power levels. | 18:12:24 |
| @brokenpip3:matrix.org joined the room. | 22:18:33 |
16 Nov 2023 |
| a-kenji joined the room. | 17:27:13 |
18 Nov 2023 |
Tobias Pankrath | Can someone explain the difference between azure-common.nix and azure-image.nix to me, esp. what does this do: | 16:17:15 |
Tobias Pankrath |
/nix/store/6xysgagcyklifd0mlayli4jmx22173h5-source/nixos/modules/virtualisation/azure-image.nix
| 16:17:33 |
Tobias 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 | I'd be happy to read your musings Tobias Pankrath, feel free to explain it yourself :) | 16:27:15 |
Tobias 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 |
Tobias Pankrath | Maybe it's unused for the nixos config and just for building it directly, if one wants that image. | 16:50:00 |
Tobias Pankrath | Does nixosGenerators use it by convention? But doesn't show up in a code search there as well. | 16:51:29 |
Tobias 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 |
Tobias Pankrath | At least mounting the cdrom does not work on subsequent reboots | 17:31:11 |
19 Nov 2023 |
| ZXGU joined the room. | 10:58:40 |
22 Nov 2023 |
| @zarel_it:matrix.org joined the room. | 09:35:51 |
30 Nov 2023 |
| @v:meowy.tech left the room. | 22:47:08 |
1 Dec 2023 |
| @lotte:chir.rs changed their profile picture. | 09:39:12 |
| Moritz Hedtke set their display name to Moritz Hedtke. | 11:08:16 |
5 Dec 2023 |
| @federicodschonborn:matrix.org changed their profile picture. | 00:38:57 |
8 Dec 2023 |
| Morten Bryne Matthiesen joined the room. | 12:47:19 |
15 Dec 2023 |
| Alex S changed their profile picture. | 21:02:40 |
18 Dec 2023 |
| Alex S changed their profile picture. | 06:50:05 |
23 Dec 2023 |
| raitobezarius changed their display name from raitobezarius to raitobezarius (DECT 2128). | 22:22:30 |
24 Dec 2023 |
| @nbp:mozilla.org joined the room. | 13:45:42 |
| @nbp:mozilla.org left the room. | 13:47:17 |
27 Dec 2023 |
| @lotte:chir.rs changed their profile picture. | 09:12:18 |
| Markus Theil changed their display name from Markus Theil to Markus Theil (DECT 5139). | 13:05:52 |
| Markus Theil changed their display name from Markus Theil (DECT 5139) to Markus Theil (DECT 5139, SIP 8492). | 16:49:22 |