| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
I'm getting dozens of nixos-disk-image entries in my store and it's
getting hard to track :)
|
|
|
|
| |
These are obsolete, use EBS AMIs instead.
|
|
|
|
|
|
|
|
|
| |
There are currently two ways to build Openstack image. This just picks
best of both, to keep only one!
- Image is resizable
- Cloudinit is enable
- Password authentication is disable by default
- Use the same layer than other image builders (ec2, gce...)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This changes much of the make-disk-image.nix logic (and thus most NixOS
image building) to use LKL to set up the target directory structure rather
than a Linux VM. The only work we still do in a VM is less IO-heavy stuff
that while still time-consuming, is less of the overall load. The goal is
to kill more of that stuff, but that will require deeper changes to NixOS
activation scripts and switch-to-configuration.pl, and I don't want to
bite off too much at once.
|
|
|
|
|
|
|
|
|
|
|
| |
* google-cloud-sdk: 150.0.0 -> 151.0.0
- gce/create-gce.sh: rewrite using nix-shell shebang and bash
- allows to run the script without being the same directory
- nix-shell install google-cloud-sdk
- some shellcheck cleanups and scripting best practice
- gce/create-gce.sh: do not clobber NIX_PATH: this allows NIX_PATH to be overwritten to build a different release
- gce/create-gce.sh: remove legacy hydra option
|
|
|
|
| |
This reverts commit 71710fd099ce6c46b54f05c6cf769e73cf11d49f.
|
|
|
|
|
|
|
|
| |
This reverts commit fbe6d23624b0b62cb5754d37ab81007cd4c035ab.
this breaks every non-ec2 (non-hvm) system
cc @edolstra
|
|
|
|
|
|
|
|
|
|
| |
Unfortunately, somewhere between 16.09 and 17.03, paravirtualized
instances stopped working. They hang at the pv-grub prompt
("grubdom>"). I tried reverting to a 4.4 kernel, reverting kernel
compression from xz to bzip2 (even though pv-grub is supposed to
support xz), and reverting the only change to initrd generation
(5a8147479e794d5932273d01790c3602b8abeedc). Nothing worked so I'm
giving up.
|
| |
|
|
|
|
| |
The nova image configuration is separated from the image build.
|
|
|
|
|
|
|
|
|
| |
This makes make-disk-image.nix slightly more consistent with other image
builders we have. Unfortunately I duplicated some code in doing so, but
this is temporary duplication on the path to consolidating everything.
See https://github.com/NixOS/nixpkgs/issues/23052 for more details on that.
I'm also exposing the option in the amazon-image.nix maintainer module.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes #15956.
|
|
|
|
| |
Should help with #15148
|
| |
|
|
|
|
|
|
|
| |
We now generate a qcow2 image to prevent hitting Hydra's output size
limit. Also updated /root/user-data -> /etc/ec2-metadata/user-data.
http://hydra.nixos.org/build/33843133
|
| |
|
| |
|
| |
|
|
|
|
| |
Since they're resized on first boot anyway, they don't need to be big.
|
|
|
|
|
|
|
|
|
| |
The EBS and S3 (instance-store) AMIs are now created from the same
image. HVM instance-store AMIs are also generated.
Disk image generation has been factored out into a function
(nixos/lib/make-disk-image.nix) that can be used to build other kinds
of images.
|
|
|
|
| |
Now with VM tests!
|
| |
|
| |
|
|
|
|
|
|
| |
interaction is necessary. Write output in a format that can be easily included in ec2-amis.nix of nixops.
(cherry picked from commit 96904915d9e3e5f69b0c5bf58db1a0f0130a977a)
|
|
|
|
| |
(cherry picked from commit bdd3a3bac8077823182233cc689b5c02cd74f4f4)
|
|
|
|
|
|
| |
credential related.
(cherry picked from commit 42c0bc4b8f7f4f5027392a842b787434fb12094f)
|
| |
|
|
|
|
|
| |
(cherry picked from commit 78bb17dd22e4da4e3810fbc78185d73bb25ea73e)
Signed-off-by: Domen Kožar <domen@dev.si>
|
|
|
|
|
|
|
|
|
| |
and pv-grub
images. Root disks are now SSD backed and 20GB by default, both on hvm and pv-grub
(previously was 8GB for HVM). Added new eu-central region to the locations to copy images
to. Also the root disk for HVM instances was not deleted on termination with previous
images, this is fixed as well.
|
|
|
|
| |
progress for #3986.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
be used on HVM instances without needing nixops. Previously
the grub setup was incorrect, so a plain 'nixos-rebuild switch'
and a reboot would result in a broken system.
Also added growing of the partition of the root disk in the initrd,
so you can run resize2fs after initial boot, without needing an
extra reboot. This is useful especially for nixops'
deployment.ec2.ebsInitialRootDiskSize option.
(cherry picked from commit 044a24e58bcf4cf48df02df936c542839fb08d90)
|
|
|
|
|
|
| |
correct zone.
(cherry picked from commit c9763e20e5e793be5eef155601f59dd7639c7ba3)
|
|
|
|
| |
(cherry picked from commit 361eb3a5f50aba4ecfe08bf37640179dfc2e6453)
|
| |
|