lib/bosh-bootstrap/cli.rb in bosh-bootstrap-0.10.1 vs lib/bosh-bootstrap/cli.rb in bosh-bootstrap-0.10.2
- old
+ new
@@ -1147,18 +1147,18 @@
say "Provisioning #{disk_size}Gb persistent disk for inception VM..."
provider.create_and_attach_volume("Inception Disk", disk_size, server, device)
end
# Format and mount the volume
- if aws?
- say "Skipping volume mounting on AWS 12.10 inception VM until its fixed", [:yellow, :bold]
- run_ssh_command_until_successful server, "sudo mkdir -p /var/vcap/store"
- else
- say "Mounting persistent disk as volume on inception VM..."
- run_ssh_command_until_successful server, "sudo mkfs.ext4 #{device} -F"
- run_ssh_command_until_successful server, "sudo mkdir -p /var/vcap/store"
- run_ssh_command_until_successful server, "sudo mount #{device} /var/vcap/store"
- end
+ # if aws?
+ # say "Skipping volume mounting on AWS 12.10 inception VM until its fixed", [:yellow, :bold]
+ # run_ssh_command_until_successful server, "sudo mkdir -p /var/vcap/store"
+ # else
+ say "Mounting persistent disk as volume on inception VM..."
+ run_ssh_command_until_successful server, "sudo mkfs.ext4 #{device} -F"
+ run_ssh_command_until_successful server, "sudo mkdir -p /var/vcap/store"
+ run_ssh_command_until_successful server, "sudo mount #{device} /var/vcap/store"
+ # end
end
def run_ssh_command_until_successful(server, cmd)
completed = false
until completed