microstack/snap/hooks/post-refresh
Dmitrii Shcherbakov 5176490845 Remove legacy post-refresh hook code
The versions in question have been outdated for a long time and nowadays
those code paths cause unnecessary overriding of calculated config
values with the default ones.

Closes-Bug: #1942433
Change-Id: I1393e8c5197cdb8ea83ad2a4c41e0bc5a219c509
2021-09-02 13:54:22 +03:00

11 lines
271 B
Bash
Executable File

#!/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.