[one-users] error creating contextualization iso
Dan Yocum
yocum at fnal.gov
Fri Oct 29 11:11:54 PDT 2010
The problem lies in the /usr/lib/one/tm_commands/{ssh,lvm}/tm_context.sh
scripts.
The TMP_DIR line needs to be changed from
TMP_DIR="$ONE_LOCATION/var/$DST_HASH"
to
if [ -z $ONE_LOCATION ]; then
TMP_DIR="/var/lib/one/$DST_HASH"
else
TMP_DIR="$ONE_LOCATION/var/$DST_HASH"
fi
After making this change, it's working, now.
BTW
Thanks,
Dan
On 10/29/2010 11:01 AM, Dan Yocum wrote:
> Here's a fun error! It appears that it's trying to create the context
> iso under $ONE_LOCATION/var, but since $ONE_LOCATION is not set (I
> installed the rpm), it's trying to create the iso under /var.
>
> The log and my oned.conf file are attached.
>
> Thanks
> Dan
--
Dan Yocum
Fermilab 630.840.6509
yocum at fnal.gov, http://fermigrid.fnal.gov
"I fly because it releases my mind from the tyranny of petty things."
More information about the Users
mailing list