mirror of
https://github.com/hsoft/vagrant-lxc-base-boxes
synced 2024-05-16 21:16:30 +00:00
ea1f9efb26
And I don't know a package to provide the same classes.
22 lines
482 B
Bash
Executable file
22 lines
482 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
source common/ui.sh
|
|
source common/utils.sh
|
|
|
|
info 'Installing extra packages and upgrading'
|
|
|
|
debug 'Bringing container up'
|
|
utils.lxc.start
|
|
|
|
# Sleep for a bit so that the container can get an IP
|
|
SECS=20
|
|
log "Sleeping for $SECS seconds..."
|
|
sleep $SECS
|
|
|
|
utils.lxc.attach yum update -y
|
|
|
|
# TODO: Support for appending to this list from outside
|
|
PACKAGES=(vim curl wget man bash-completion ca-certificates sudo nfs-common)
|
|
utils.lxc.attach yum install ${PACKAGES[*]} -y
|