log "Sleeping for $SECS seconds..."
sleep $SECS
-utils.lxc.attach yum update -y
+# install the fedora epel repo?
+EPEL=${EPEL:-0}
# TODO: Support for appending to this list from outside
PACKAGES=(vim curl wget man ca-certificates sudo)
+
+if [ $EPEL = 1 ]; then
+ utils.lxc.attach yum update -y
+ utils.lxc.attach yum install epel-release -y
+ PACKAGES+=' bash-completion'
+fi
+
+utils.lxc.attach yum update -y
utils.lxc.attach yum install ${PACKAGES[*]} -y