Advertisement
Guest User

Untitled

a guest
Mar 19th, 2012
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.04 KB | None | 0 0
  1. [root@localhost xen]# ./prepare_guest.sh
  2. + GUEST_PASSWORD=secrete
  3. + STAGING_DIR=stage
  4. + DO_TGZ=1
  5. + KERNEL_VERSION=3.0.0-12-virtual
  6. + '[' '!' -d stage ']'
  7. + apt-get install debootstrap
  8. ./prepare_guest.sh: line 13: apt-get: command not found
  9. + debootstrap --arch amd64 oneiric stage http://us.archive.ubuntu.com/ubuntu/
  10. ./prepare_guest.sh: line 14: debootstrap: command not found
  11. + cat
  12. ./prepare_guest.sh: line 18: stage/etc/apt/sources.list: No such file or directory
  13. + chroot stage apt-get update
  14. chroot: cannot change root directory to stage: No such file or directory
  15. + chroot stage apt-get install -y linux-image-3.0.0-12-virtual
  16. chroot: cannot change root directory to stage: No such file or directory
  17. + chroot stage apt-get install -y cracklib-runtime curl wget ssh openssh-server tcpdump ethtool
  18. chroot: cannot change root directory to stage: No such file or directory
  19. + chroot stage apt-get install -y curl wget ssh openssh-server python-pip git vim-nox sudo
  20. chroot: cannot change root directory to stage: No such file or directory
  21. + chroot stage pip install xenapi
  22. chroot: cannot change root directory to stage: No such file or directory
  23. + XEGUEST=xe-guest-utilities_5.6.100-651_amd64.deb
  24. + wget http://images.ansolabs.com/xen/xe-guest-utilities_5.6.100-651_amd64.deb -O xe-guest-utilities_5.6.100-651_amd64.deb
  25. --2012-03-19 15:34:30-- http://images.ansolabs.com/xen/xe-guest-utilities_5.6.100-651_amd64.deb
  26. Resolving images.ansolabs.com... 173.203.89.94
  27. Connecting to images.ansolabs.com|173.203.89.94|:80... connected.
  28. HTTP request sent, awaiting response... 200 OK
  29. Length: 55460 (54K) [application/octet-stream]
  30. Saving to: `xe-guest-utilities_5.6.100-651_amd64.deb'
  31.  
  32. 100%[======================================>] 55,460 --.-K/s in 0.005s
  33.  
  34. 2012-03-19 15:34:32 (10.3 MB/s) - `xe-guest-utilities_5.6.100-651_amd64.deb' saved [55460/55460]
  35.  
  36. + cp xe-guest-utilities_5.6.100-651_amd64.deb stage/root
  37. cp: cannot create regular file `stage/root': No such file or directory
  38. + chroot stage dpkg -i /root/xe-guest-utilities_5.6.100-651_amd64.deb
  39. chroot: cannot change root directory to stage: No such file or directory
  40. + chroot stage update-rc.d -f xe-linux-distribution remove
  41. chroot: cannot change root directory to stage: No such file or directory
  42. + chroot stage update-rc.d xe-linux-distribution defaults
  43. chroot: cannot change root directory to stage: No such file or directory
  44. + mkdir -p stage/usr/share/cracklib
  45. + echo a
  46. + chroot stage cracklib-packer
  47. chroot: cannot run command `cracklib-packer': No such file or directory
  48. + chroot stage pwconv
  49. chroot: cannot run command `pwconv': No such file or directory
  50. + echo root:secrete
  51. + chroot stage chpasswd
  52. chroot: cannot run command `chpasswd': No such file or directory
  53. + rm -f stage/etc/localtime
  54. + chroot stage groupadd libvirtd
  55. chroot: cannot run command `groupadd': No such file or directory
  56. + chroot stage useradd stack -s /bin/bash -d /opt/stack -G libvirtd
  57. chroot: cannot run command `useradd': No such file or directory
  58. + echo stack:secrete
  59. + chroot stage chpasswd
  60. chroot: cannot run command `chpasswd': No such file or directory
  61. + echo 'stack ALL=(ALL) NOPASSWD: ALL'
  62. ./prepare_guest.sh: line 60: stage/etc/sudoers: No such file or directory
  63. + chroot stage chown -R stack /opt/stack
  64. chroot: cannot run command `chown': No such file or directory
  65. + echo 'export PS1='\''\u@\H:\w\$ '\'''
  66. ./prepare_guest.sh: line 66: stage/opt/stack/.bashrc: No such file or directory
  67. + echo 'export PS1='\''\u@\H:\w\$ '\'''
  68. ./prepare_guest.sh: line 67: stage/root/.bashrc: No such file or directory
  69. + echo 'export PS1='\''\u@\H:\w\$ '\'''
  70. ./prepare_guest.sh: line 68: stage/etc/profile: No such file or directory
  71. + setup_vimrc stage/root/.vimrc
  72. + '[' '!' -e stage/root/.vimrc ']'
  73. + cat
  74. ./prepare_guest.sh: line 73: stage/root/.vimrc: No such file or directory
  75. + setup_vimrc stage/opt/stack/.vimrc
  76. + '[' '!' -e stage/opt/stack/.vimrc ']'
  77. + cat
  78. ./prepare_guest.sh: line 73: stage/opt/stack/.vimrc: No such file or directory
  79. + '[' 1 = 1 ']'
  80. + rm -f stage.tgz
  81. + tar cfz stage.tgz stage
  82. [root@localhost xen]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement