The yumapro-home parameter for netconfd-pro dictates

the directory for the yumapro project root to use. If present,

this directory location will override the YUMAPRO_HOME

environment variable, if it is present. If a zero-length string

is entered, then the YUMAPRO_HOME environment variable

will be ignored.


Here is an example of how one would set the YUMAPRO_HOME

environment variable to the ~/DEV directory (same as /home/user/DEV directory):


user@localhost:~$ YUMAPRO_HOME = /home/user/DEV

user@localhost:~$ export YUMAPRO_HOME


If you wish to update or remove the YUMAPRO_HOME environment variable,

the following shows how this can be done:


# First let's check to see if YUMAPRO_HOME is set
#
user@localhost:~$ printenv YUMAPRO_HOME
/home/user/DEV
user@localhost:~$ 
#
# Now we will remove the current YUMAPRO_HOME value
#
user@localhost:~$ unset YUMAPRO_HOME
#
# Now there is no value for the YUMAPRO_HOME variable
# as the printenv command will confirm
#
user@localhost:~$ printenv YUMAPRO_HOME
user@localhost:~$ 
#
# Empty string is returned for YUMAPRO_HOME variable
#
# Now we reset the YUMAPRO_HOME variable to some new location
#
user@localhost:~$ YUMAPRO_HOME = /home/user/work

user@localhost:~$ export YUMAPRO_HOME


Note: The yumapro-home parameter cannot be set in the

netconfd-pro.conf config file. Only the command line or

environment variable can be used.


The yumapro-home parameter can be set when starting netconfd-pro via the command line:


user@system> netconfd-pro --yumapro-home=/home/user/DEV