## Apticron Show /etc/apticron/apticron.conf - Show where to add an address - Set the LIST_CHANGES thing ## Live demo: make a new machine Create new VM - 256MB RAM - 2GB HDD - Name: target-demo.local - Type: Ubuntu 10.04? - Bridge ethernet - Root pw: kwlug Connect to console - Add eth0 to /etc/network/interfaces auto eth0 ifup eth0 inet dhcp then ifup eth0 - edit /etc/apt/sources.list add proxmox:3142 to beginning of each entry. e.g. deb http://archive.ubuntu.com/ubuntu lucid main restricted universe to deb http://proxmox:3142/archive.ubuntu.com/ubuntu lucid main restricted universe apt-get update adduser --gecos "Patchy" --disabled-password patchy su - patchy mkdir .ssh cd .ssh sftp patchy@updater01 cd .ssh get id_rsa.pub bye cat id_rsa.pub >> authorized_keys exit NOW AS ROOT apt-get install apt-dater-host vi /etc/sudoers Add patchy ALL=NOPASSWD:/usr/bin/apt-get,/usr/bin/aptitude vi /etc/ssh/sshd_config PermitRootLogin no AllowUsers patchy /etc/init.d/ssh reload ## Log into updater01 ssh patchy@localhost cd .config/apt-dater vi hosts.conf ## Run apt-dater Find host connect to it for the first time Now update host