#!/bin/sh hostname=adam echo $hostname > /etc/hostname sed -i -e 's/\blocalhost\b/& '"$hostname"'/' /etc/hosts . /etc/os-release cat < /etc/apt/sources.list deb http://httpredir.debian.org/debian ${VERSION_CODENAME} main #contrib non-free deb http://security.debian.org ${VERSION_CODENAME}/updates main #contrib non-free #deb http://httpredir.debian.org/debian ${VERSION_CODENAME}-backports main #contrib non-free END #apt-get update cat /var/lib/apt/lists/*_Packages | dpkg --update-avail - #apt-get -yd install baresip apt-mark install baresip