Skip to content

Commit

Permalink
Merge pull request #1243 from GoogleCloudPlatform/aerospike-fix2
Browse files Browse the repository at this point in the history
Make aeropsike able to run with raw devices on static vms.
  • Loading branch information
yuyantingzero authored Dec 10, 2016
2 parents 0b3f928 + 5a16af5 commit 78e0cee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion perfkitbenchmarker/linux_packages/aerospike_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ def ConfigureAndStart(server, seed_node_ips=None):
'replication_factor': FLAGS.aerospike_replication_factor})

for scratch_disk in server.scratch_disks:
server.RemoteCommand('sudo umount %s' % scratch_disk.mount_point)
if scratch_disk.mount_point:
server.RemoteCommand('sudo umount %s' % scratch_disk.mount_point)

server.RemoteCommand('cd %s && make init' % AEROSPIKE_DIR)
server.RemoteCommand('cd %s; nohup sudo make start &> /dev/null &' %
Expand Down

0 comments on commit 78e0cee

Please sign in to comment.