17 lines
276 B
Bash
17 lines
276 B
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
source common/ui.sh
|
||
|
source common/utils.sh
|
||
|
|
||
|
debug 'Bringing container up'
|
||
|
utils.lxc.start
|
||
|
|
||
|
info "Cleaning up '${CONTAINER}'..."
|
||
|
|
||
|
log 'Removing temporary files...'
|
||
|
rm -rf ${ROOTFS}/tmp/*
|
||
|
|
||
|
log 'Removing downloaded packages...'
|
||
|
utils.lxc.attach apt-get clean
|