Hi there folks
Hope everyone is in good time.
I've had create this script:
#!/bin/bash
while read a
do
PBS_REPOSITORY="root@pam@SERVER_IP2:backup"
PBS_PASSWORD="good_password"
PBS_FINGERPRINT="some_numbers"
proxmox-backup-client change-owner --repository=$PBS_REPOSITORY $a admin@pbs
done < vm-groups.txt
In the vm-groups.txt I have a lot VMS groups like that:
vm/100
vm/101
vm/102
vm/103
vm/104
vm/105
vm/106
vm/107
vm/108
vm/109
vm/110
vm/111
vm/112
So it's one per line, right?
When I ran the script I got this error:
Error: error building client for repository root@pam@SERVER_IP2:backup - no password input mechanism available
Why? What do I missing here?
Thanks a lot for any clue!
Best regards.
Hope everyone is in good time.
I've had create this script:
#!/bin/bash
while read a
do
PBS_REPOSITORY="root@pam@SERVER_IP2:backup"
PBS_PASSWORD="good_password"
PBS_FINGERPRINT="some_numbers"
proxmox-backup-client change-owner --repository=$PBS_REPOSITORY $a admin@pbs
done < vm-groups.txt
In the vm-groups.txt I have a lot VMS groups like that:
vm/100
vm/101
vm/102
vm/103
vm/104
vm/105
vm/106
vm/107
vm/108
vm/109
vm/110
vm/111
vm/112
So it's one per line, right?
When I ran the script I got this error:
Error: error building client for repository root@pam@SERVER_IP2:backup - no password input mechanism available
Why? What do I missing here?
Thanks a lot for any clue!
Best regards.