| Version 13 (modified by , 9 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/ 
 - run 
 
 - create /export/inv_root/inventory_16.04
 - Chroot into new directory
LANG=C.UTF-8 chroot /export/inv_root/inventory_16.04/ /bin/bash
 - Install editor
- 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
 apt update- Add lines to /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/nfs / nfs defaults,ro 0 1 none /tmp tmpfs defaults 0 0 none /run tmpfs defaults 0 0 none /var/tmp tmpfs defaults 0 0
 - Add lines to /etc/network/interfaces
 - Install ssh
- openssh-client
 - openssh-server
 
 - allow root passwd login in /etc/ssh/sshd_config
PermitRootLogin yesPermitEmptyPasswords yes
 - remove root password
passwd -d root
 
- #nfs-common (unneeded, have it in kernel?)
 - libuhd003
 - libuhd-dev
 - uhd-host
 
- Remove conflicting files
- rm /etc/hostname
 
 
# * rm /etc/resolvconf / link to /var/run
  Note:
 See   TracWiki
 for help on using the wiki.
    