vm/windows: Don't init /nix/store on install.

We're going to do this during the suspendedVM phase, so we're able to
more easily change the shares without reinstalling the whole VM.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2014-02-16 00:48:01 +01:00
parent 3e91192f07
commit cfa859d792
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -12,11 +12,8 @@ let
$(cat "${cygwinSshKey}/key.pub")
PUBKEY
ssh-host-config -y -c 'binmode ntsec' -w dummy
net use S: '\\192.168.0.2\nixstore'
mkdir -p /nix/store
echo "/cygdrives/s /nix/store none bind 0 0" >> /etc/fstab
shutdown -s now
cygrunsrv -S sshd
shutdown -s 5
EOF
'';