#! /bin/bash

set -eu -o pipefail

pkglist=$(dpkg --get-selections)
file=~/pkg.list
cat > $file << EOF
packages_to_install:
$pkglist
EOF
