Skip to content

Instantly share code, notes, and snippets.

@bmaia
Created February 17, 2014 00:48

Revisions

  1. bmaia created this gist Feb 17, 2014.
    5 changes: 5 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    mount --bind /dev /mnt/squashfs-root/dev
    mount --bind /proc /mnt/squashfs-root/proc
    mount --bind /sys /mnt/squashfs-root/sys
    mount --bind /dev/pts /mnt/squashfs-root/dev/pts
    cp /etc/resolv.conf /mnt/squashfs-root/tmp/resolv.conf