Avoid exposing passwords in the process list, use a password file.
This commit is contained in:
parent
917b45aadc
commit
57ec856f49
7 changed files with 156 additions and 131 deletions
|
@ -39,8 +39,10 @@ upload_image() {
|
|||
cp -a "${VM_DIR}/${VM_NAME}.xml" "${VM_SYSDIR}"
|
||||
fi
|
||||
cd "${VM_SYSDIR}"
|
||||
uploadseed --rpc-server "${SEEDBOX_HOST}:${SEEDBOX_RPC_PORT}" --dht-port "${SEEDBOX_PORT}" --rpc-secret insecure --no-cert "${VM_NAME}.qcow2"
|
||||
uploadseed --rpc-server "${SEEDBOX_HOST}:${SEEDBOX_RPC_PORT}" --dht-port "${SEEDBOX_PORT}" --rpc-secret insecure --no-cert "${VM_NAME}.xml"
|
||||
uploadseed --server "${SEEDBOX_HOST}:${SEEDBOX_RPC_PORT}" --dht-port "${SEEDBOX_PORT}" \
|
||||
--pwdfile "${SEEDBOX_PWFILE}" --no-cert "${VM_NAME}.qcow2"
|
||||
uploadseed --server "${SEEDBOX_HOST}:${SEEDBOX_RPC_PORT}" --dht-port "${SEEDBOX_PORT}" \
|
||||
--pwdfile "${SEEDBOX_PWFILE}" --no-cert "${VM_NAME}.xml"
|
||||
}
|
||||
|
||||
source /etc/lmn/vm.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue