SHARE
TWEET

Untitled

a guest Aug 13th, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. sd-29831:/usr/share/pve-manager/root# bash -x -v script.sh
  3. #!/bin/sh
  4. ID=${1}
  5. + ID=$'\r'
  6. DISK=${2}
  7. + DISK=$'\r'
  8. ISO=${3}
  9. + ISO=$'\r'
  10. PASSWORD=${4}
  11. + PASSWORD=$'\r'
  12. HOSTNAME=${5}
  13. + HOSTNAME=$'\r'
  14. SEARCHDOMAIN=${6}
  15. + SEARCHDOMAIN=$'\r'
  16. SWAP=${7}
  17. + SWAP=$'\r'
  18. MEM=${8}
  19. + MEM=$'\r'
  20. CPUS=${9}
  21. + CPUS=$'\r'
  22. MAC=${10}
  23. + MAC=$'\r'
  24.  
  25. + $'\r'
  26. : command not found
  27. /usr/bin/pvectl vzcreate 101 --disk 8 --ostemplate local:vztmpl/centos-5-standard_5.2-1_i386.tar.gz --rootpasswd mdrbite --hostname vps1.mestest.tk --nameserver 88.191.254.60 --nameserver 88.191.254.70 --searchdomain mestest.tk --onboot yes --swap 512 --mem 512 --cpus 1 --netif ifname=eth0,mac=52:54:00:00:01:ed
  28. + /usr/bin/pvectl vzcreate 101 --disk 8 --ostemplate local:vztmpl/centos-5-standard_5.2-1_i386.tar.gz --rootpasswd mdrbite --hostname vps1.mestest.tk --nameserver 88.191.254.60 --nameserver 88.191.254.70 --searchdomain mestest.tk --onboot yes --swap 512 --mem 512 --cpus 1 --netif $'ifname=eth0,mac=52:54:00:00:01:ed\r'
  29. vzctl set 101 --vmguarpages 262144:9223372036854775807 --oomguarpages 262144:9223372036854775807 --privvmpages 262144:274644 --lockedpages 131072:131072 --disk,, --onboot yes --nameserver 88.191.254.60 --nameserver 88.191.254.70 --savek --searchdomain mestest.tk --netif_add eth0,52:54:00:00:01:ed
  30. Invalid container MAC address length
  31. ,,d parameter for --netif_add: eth0,52:54:00:00:01:ed
  32. unable to set parameters - command failed - 5376
  33. exit0
  34. + exit0
  35. script.sh: line 14: exit0: command not found
  36. sd-29831:/usr/share/pve-manager/root#
RAW Paste Data
Top