#!/bin/bash set -ex # Refresh the TEMPLATE.qemu apparmor profile and abstractions. rsync -rh $SNAP/etc/apparmor.d $SNAP_COMMON/etc mkdir -p ${SNAP_COMMON}/log/libvirt/qemu mkdir -p /run/lock/snap.$SNAP_INSTANCE_NAME snap-openstack setup # Write any template changes.