search for: use_data

Displaying 5 results from an estimated 5 matches for "use_data".

Did you mean: user_data
2006 Jul 27
2
accessing a variable inside a plugin
Hello, I would like to load an Hash in my init.rb plugin file ... than I would like to use this hash in my module ... in my init.rb: @anHash = load From file... in mymodule: module Amodule def myFunction #@anHash .... end end How can I access to my hash in my plugin module function ? thanks for this dummy question ;-) Arnaud
2010 Jul 21
0
[PATCH] RFC: Advanced Storage Configuration
...SIZE" -gt 0 ]; then + log "Creating swap2 partition" + lvcreate --name Swap2 --size ${SWAP2_SIZE}M /dev/AppVG + mkswap -L "SWAP2" /dev/AppVG/Swap2 + echo "/dev/AppVG/Swap2 swap swap defaults 0 0" >> /etc/fstab + fi + + local use_data=1 + if [ "$DATA2_SIZE" -eq -1 ]; then + log "Creating data2 partition with remaining free space" + lvcreate --name Data2 -l 100%FREE /dev/AppVG + use_data=0 + elif [ "$DATA2_SIZE" -gt 0 ]; then + log "Creating data2 partition&quot...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...OGGING_SIZE + os.system("mke2fs -j /dev/HostVG/Logging -L \"LOGGING\"") + os.system("tune2fs -c 0 -i 0 /dev/HostVG/Logging") + os.system("echo \"/dev/HostVG/Logging /var/log ext3 defaults,noatime 0 0\" >> /etc/fstab") + use_data=1 + if DATA_SIZE == -1: + log("Creating data partition with remaining free space") + os.system("lvcreate --name Data -l 100%FREE /dev/HostVG") + use_data=0 + elif DATA_SIZE > 0: + log("Creating data partition") + os.system(&q...
2010 Jul 21
0
[PATCH] RFC: Encrypted swap support
...2 /dev/AppVG/Swap2 /dev/mapper/ovirt-crypt-swap2 ${OVIRT_CRYPT_SWAP2}" >> /etc/ovirt-crypttab + else + mkswap -L "SWAP2" /dev/AppVG/Swap2 + echo "/dev/AppVG/Swap2 swap swap defaults 0 0" >> /etc/fstab + fi fi local use_data=1 @@ -885,6 +893,9 @@ perform_partitioning() done create_hostvg [ -n ${APPVGDRIVE} ] && create_appvg + if [ -n ${OVIRT_CRYPT_SWAP2} -o -n ${OVIRT_CRYPT_SWAP} ]; then + ovirt_store_config /etc/ovirt-crypttab + fi stop_log } diff --git a/scripts/ovirt-early...
2009 May 20
2
[PATCH node] Adds support for a core dump partition to the node.
...+ lvcreate --name CoreDump --size ${COREDUMP_SIZE}M /dev/HostVG + mke2fs -j /dev/HostVG/CoreDump -L "COREDUMP" + tune2fs -c 0 -i 0 /dev/HostVG/CoreDump + mkdir -p /var/log/core + echo "/dev/HostVG/CoreDump /var/log/core ext3 defaults 0 0" >> /etc/fstab + fi local use_data=1 if [ "$DATA_SIZE" -eq -1 ]; then @@ -486,6 +498,7 @@ BOOT_SIZE=${OVIRT_VOL_BOOT_SIZE:-$default_boot_size} ROOT_SIZE=${OVIRT_VOL_ROOT_SIZE:-$default_root_size} CONFIG_SIZE=${OVIRT_VOL_CONFIG_SIZE:-$default_config_size} LOGGING_SIZE=${OVIRT_VOL_LOGGING_SIZE:-$default_logging_size}...