# README
bosh-persistent-disk-modifier
Run this tool to update the disk CID mappings in the bosh database after an HCX migration of CF or other bosh deployment.
Setup
-
Export the following variables
export BOSH_VM_IP=10.0.0.21 export VCAP_PASSWORD='bosh vm vcap password' export DEPLOYMENT=cf-02614dc53e91b381e7bd
-
If necessary, export http proxy variables
export HTTP_PROXY=http://some.proxy.local export HTTPS_PROXY=http://some.proxy.local export NO_PROXY=comma-delimitted-excluded-ips-domains-from-proxy
Run
-
Run binary on bosh database by connecting to the bosh vm from a jumpbox
./scripts/run.sh