diff --git a/scripts/onehost_create_all b/scripts/onehost_create_all index 411f892..358c990 100755 --- a/scripts/onehost_create_all +++ b/scripts/onehost_create_all @@ -44,8 +44,7 @@ function sync_host() { CMD="onehost" OPT="sync -f --rsync" - AUTH=$(get_one_auth) - res=$(su - oneadmin -c "${CMD} ${OPT} --user ${AUTH%:*} --password ${AUTH#*:}") + res=$(su - oneadmin -c "${CMD} ${OPT}") if [[ ${?} -ne 0 ]] then error "Hosts sync failed"