1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Add usage comment to patch ip4_6_static.rb

This commit is contained in:
Javi Fontan 2017-03-22 19:11:38 +01:00
parent dec4ac7b57
commit 11b636133a

View File

@ -14,6 +14,18 @@
# limitations under the License. #
#--------------------------------------------------------------------------- #
# This patch changes the type of an AR to IP4_6_STATIC and also lets
# us add or change parameters. The AR must be specified in the extra
# option. For example, to change network 2, ar 1 and add ip6 and
# prefix_length you can use:
#
# onedb patch -s one.db ip4_6_static.rb \
# --extra vn=2;ar=1;ip6=2001::1;prefix_length=48
#
# You can also specify several ARs separated by ,:
#
# vn=3;ar=0;ip6=2001::1;prefix_length=48,vn=3;ar=1;ip6=2001::2;prefix_length=64
if !ONE_LOCATION
LOG_LOCATION = "/var/log/one"
else