nix-tests icon indicating copy to clipboard operation
nix-tests copied to clipboard

Minor adjustments

Open angerman opened this issue 6 years ago • 1 comments

I also have the following user-data.yaml

#cloud-config
write_files:
  - path: /root/install-nix.sh
    content: |
        #!/bin/bash
        set -x
        set -e
        export USER=$(whoami)
        export HOME=/root
        wget http://zw3rk-pub-bucket.s3.amazonaws.com/nixos-system-x86_64-linux.tar.xz
        tar -xf nixos-system-x86_64-linux.tar.xz
        cp /root/.ssh/authorized_keys /ssh_pubkey
        ./kexec_nixos

runcmd:
  - bash -l /root/install-nix.sh

though I'd prefer not to have to host the .tar.xz at 400mb myself :-)

angerman avatar Jul 27 '18 02:07 angerman