wiki:Internal/InventoryImage

Version 6 (modified by msherman, 7 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
  • Update /etc/apt/sources.list
  • Install Packages
    • vim
    • 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.