wiki:InvirtSetupNotes

Version 1 (modified by glasgall, 11 years ago) (diff)

--

These are notes I made while creating a new xvm hypervisor on Precise:

  • create schroot with 'sbuild-createchroot /srv/chroot/precise-amd64-sbuild http://mirrors.mit.edu/ubuntu'
  • defang init inside the schroot:
    dpkg-divert --local /sbin/initctl
    mv /sbin/initctl /sbin/initctl.distrib
    ln -s /bin/true /sbin/initctl
    
  • created /usr/sbin/policy-rc.d inside the chroot, containing:
    #!/bin/sh
    
    exit 101