6bfbe0e8d7
Currently only f20 and f19 are provided by the lxc-download template, not f21.
16 lines
268 B
Bash
Executable file
16 lines
268 B
Bash
Executable file
#!/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 'cleaning up dhcp leases'
|
|
rm -f ${ROOTFS}/var/lib/dhcp/*
|