-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare initial image #201
Comments
Not entirely related, and not entirely sure if this is mentioned elsewhere before, but we have been using the following way to init new systems. I would love to make this work tho. InstantiateYou can get the result via: New machine setupCurrently the workflow for any new profile/machine setup would be:
What this script does is to deploy the toplevel directly using boot ssh with specify root. The usage of this script: # Prepare your target machine
# e.g.
# mkfs.vfat -n BOOT $TARGET_DISK_1
# mkfs.ext4 -L NIXOS $TARGET_DISK_2
# mkdir /mnt || true
# mount $TARGET_DISK_2 /mnt
# mkdir /mnt/boot || true
# mount $TARGET_DISK_1 /mnt/boot
## Make sure you have the colmena hive changes included
git add .
## The following will build the toplevel, connect to remote and apply profile.
## READ KNOWN ISSUES below!
./install.sh <node-name> /mnt I have my own version which dispatch Known issues
|
Have you figured out anything for building custom images (such as I tried:
But if I do this: It doesn't seem to exist. On the other hand, doing: |
Is there a way to configure this so that if it cannot connect to host initially, it generates an image file something like what
nix build .#nixosConfigurations.nixos.config.system.build.sdImage
does?The text was updated successfully, but these errors were encountered: