if [ "$NOSHARE"x = ""x ]; then
P9="-virtfs local,path=$SHARE/,mount_tag=host0,security_model=passthrough,id=host0"
- if [ -f ~/.ssh/authorized_keys ]; then
- cp ~/.ssh/authorized_keys $SHARE/runtime/vagrant-pub-key
+ AUTHKEYS=/home/vagrant/.ssh/authorized_keys
+ if [ -f $AUTHKEYS ]; then
+ cp -v $AUTHKEYS $SHARE/runtime/vagrant-pub-key
fi
touch $SHARE/runtime/waiting_runtime_vm
fi
i=0
while true; do
- echo "Waiting for qemu VM to come ready ($i seconds)"
+ echo "Waiting for qemu $MACH VM to come ready ($i seconds)"
if [ ! -f $SHARE/runtime/waiting_runtime_vm ]; then
echo "ready after $i seconds"
exit 0