-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
It would be nice to be able to resume a bucc deployed virtualbox vm.
Currently the bosh jobs won't be able to start because they are missing their persistent disk: cloudfoundry/bosh-virtualbox-cpi-release#7
below some things I have tried so far to workaround the above issue, with mixed results:
df /var/vcap/data | grep /var/vcap/data # wait for agent to mount /var/vcap/data
disk=$(sort <(cat /etc/mtab | grep /dev/sd | cut -d ' ' -f1) <(fdisk -l | grep /dev/sd | grep -v : | grep -v swap | cut -d ' ' -f1) | uniq -u)
mount ${disk} /var/vcap/store
monit
vboxmanage startvm $(bosh int state/state.json --path /current_vm_cid) --type headless
bucc ssh
cd /dev/disk/by-id/ && ln -s ../../sdc 1ATA
dhoffi, bchalk101 and ratkins
Metadata
Metadata
Assignees
Labels
No labels