mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-17 18:33:32 +09:00
Added full path to mkswap command
git-svn-id: http://svn.opennebula.org/one/trunk@324 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
1 parent
35de4aa8d9
commit
acbdb0ed3c
2 files changed
+2
-2
No files matched your search
@@ -34,7 +34,7 @@ log "Creating ${SIZE}Mb image in $DST_PATH"
|
||||
exec_and_log "dd if=/dev/zero of=$DST_PATH bs=1 count=1 seek=${SIZE}M"
|
||||
|
||||
log "Initializing swap space"
|
||||
exec_and_log "mkswap $DST_PATH"
|
||||
exec_and_log "/sbin/mkswap $DST_PATH"
|
||||
|
||||
exec_and_log "chmod a+w $DST_PATH"
|
||||
|
||||
@@ -38,7 +38,7 @@ exec_and_log "ssh $DST_HOST mkdir -p $DST_DIR"
|
||||
exec_and_log "ssh $DST_HOST dd if=/dev/zero of=$DST_PATH bs=1 count=1 seek=${SIZE}M"
|
||||
|
||||
log "Initializing swap space"
|
||||
exec_and_log "ssh $DST_HOST mkswap $DST_PATH"
|
||||
exec_and_log "ssh $DST_HOST /sbin/mkswap $DST_PATH"
|
||||
|
||||
exec_and_log "ssh $DST_HOST chmod a+w $DST_PATH"
|
||||
|
||||
Reference in new issue
Block a user