Changeset 35000f6


Ignore:
Timestamp:
01/08/14 09:59:16 (11 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
1b51e47
Parents:
6180a78
Message:

Fix a bug pulling the correct LP props file from a remote host

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pc-sysinstall/backend/functions-zfsrestore.sh

    rbec1293 r35000f6  
    8686 
    8787  # First lets fetch the ZFS properties backup 
    88   ssh -p ${SSHPORT} ${SSHKEY} ${SSHUSER}@${SSHHOST} cat ${ZFSPROPS} > ${ZPFILE} 
     88  echo "ssh -p ${SSHPORT} ${SSHKEY} ${SSHUSER}@${SSHHOST} \"cat '$ZFSPROPS'\" > ${ZPFILE}" > ${TMPDIR}/.fetchProp 
     89  sh ${TMPDIR}/.fetchProp 
    8990  if [ $? -ne 0 ] ; then 
     91     rm ${TMPDIR}/.fetchProp 
    9092     exit_err "Unable to get ZFS properties file!" 
    9193  fi 
     94  rm ${TMPDIR}/.fetchProp 
    9295 
    9396  get_value_from_cfg zfsRemoteDataset 
Note: See TracChangeset for help on using the changeset viewer.