jeaye / nixos-in-place

Install NixOS on top of any existing Linux distribution without rebooting
MIT License
460 stars 57 forks source link

DigitalOcean now uses /dev/vda #23

Closed billiegoose closed 8 years ago

billiegoose commented 8 years ago

/root/nixos-in-place/util: line 23: grub_device: unbound variable

Since line 23 is before the help message, event ./install -h just results in the above crash.

Resolved by adding a third check (elif grep '/dev/vd') and suggest a final else clause aborting with a helpful message if $grub_device can't be inferred.

Details: DigitalOcean Debian 5.5 GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu)

jeaye commented 8 years ago

Thanks for reporting this! Are you interested in submitting a PR for that change?

billiegoose commented 8 years ago

Resolved in pull request https://github.com/jeaye/nixos-in-place/pull/24