Use the %HOST% and %PORT% variables

It makes things more flexible
This commit is contained in:
Jonas Pfenniger 2013-02-04 17:12:05 +00:00
parent 96faf6217f
commit cd7fcd669a

View file

@ -16,7 +16,7 @@ session = {
'w', '<Enter>',
'mkfs.ext4 -j -L nixos /dev/sda1', '<Enter>',
'mount LABEL=nixos /mnt', '<Enter>',
'curl -O http://10.0.2.2:7122/configuration.nix &&', '<Enter>',
'curl -O http://%IP%:%PORT%/configuration.nix &&', '<Enter>',
'mkdir -p /mnt/etc/nixos &&', '<Enter>',
'mv configuration.nix /mnt/etc/nixos &&', '<Enter>',
'nixos-install &&', '<Enter>',