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:
parent
9ec5d8e633
commit
fdfc9b29fb
1
share/scripts/context-packages/base/etc/one-context.d/04-mount-swap
Executable file
1
share/scripts/context-packages/base/etc/one-context.d/04-mount-swap
Executable file
@ -0,0 +1 @@
|
||||
swapon -L swap
|
@ -273,7 +273,7 @@ function mkfs_command {
|
||||
return 0
|
||||
;;
|
||||
"swap")
|
||||
echo "$MKSWAP $DST"
|
||||
echo "$MKSWAP -L swap $DST"
|
||||
return 0
|
||||
;;
|
||||
"qcow2")
|
||||
|
Loading…
Reference in New Issue
Block a user