wiki:Internal/InventoryImage

Version 7 (modified by msherman, 8 years ago) ( diff )

Notes on Building the Inventory Image

This consists of the following steps:

  • Creation of bootable directory via debootstrap
    • Installation of needed packages
    • Installation of Kernel
    • Installation of Inventory Scripts
    • Fixing device naming and driver load order
  • NFS server configuration to export it
  • PXE configuration so a node boots it
  • Debootstrap steps
    • create /export/inv_root/inventory_16.04
      • run sudo debootstrap --arch amd64 xenial /export/inv_root/inventory_16.04/
  • Chroot into new directory
    • LANG=C.UTF-8 chroot /export/inv_root/inventory_16.04/ /bin/bash
  • Install Initial Packages
    • vim
  • Update /etc/apt/sources.list *
    ###### Ubuntu Main Repos
    deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe
    ###### Ubuntu Update Repos
    deb http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe
    deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe
    
  • Install Packages
    • ssh
    • nfs-common
    • libuhd003
    • libuhd-dev
    • uhd-host
  • Add lines to /etc/fstab
  • Add lines to /etc/network/interfaces
  • Remove conflicting files
    • rm /etc/hostname
    • rm /etc/resolvconf / link to /var/run

Note: See TracWiki for help on using the wiki.