1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00

feature #1891: add label to swap images and script to mount them

This commit is contained in:
Javi Fontan 2013-04-09 17:35:00 +02:00
parent 9ec5d8e633
commit fdfc9b29fb
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
swapon -L swap

View File

@ -273,7 +273,7 @@ function mkfs_command {
return 0
;;
"swap")
echo "$MKSWAP $DST"
echo "$MKSWAP -L swap $DST"
return 0
;;
"qcow2")