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:
Javier Fontán Muiños committed 2009-01-26 11:37:28 +00:00
1 parent 35de4aa8d9
commit acbdb0ed3c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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"