Changes between Version 20 and Version 21 of NEuca-guest-configuration

Show
Ignore:
Timestamp:
07/25/11 17:49:53 (8 years ago)
Author:
ibaldin (IP: 152.54.9.21)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NEuca-guest-configuration

    v20 v21  
    6464Sometimes when running in chrooted environment things don't work quite like expected. Doing the following step should make things easier (before you chroot) 
    6565{{{ 
    66 $ cp /etc/resolv.conf /where/image/is/mounted/etc/ 
    67 $ mount -o bind /dev /where/image/is/mounted/dev/ 
    68 $ mount -t proc none /where/image/is/mounted/proc/ 
     66$ sudo cp /etc/resolv.conf /where/image/is/mounted/etc/ 
     67$ sudo mount -o bind /dev /where/image/is/mounted/dev/ 
     68$ sudo mount -t proc none /where/image/is/mounted/proc/ 
    6969$ sudo /usr/sbin/chroot /where/image/is/mounted 
    7070}}} 
     71 
     72Before you unmount your image you should reverse some of the steps above: 
     73{{{ 
     74$ sudo umount /where/image/is/mounted/proc 
     75$ sudo umount /where/image/is/mounted/dev 
     76$ sudo umount /where/image/is/mounted 
     77}}}