
This is part of a transition to storing the config files in the snap, rather than in snapstack. Also updated .gitignore to ignore emacs temp files and snapcraft cruft. Change-Id: Ic08196c14649ed27178453335935acc7ea990455
14 lines
482 B
Bash
Executable File
14 lines
482 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x
|
|
|
|
# Manually define aliases if snap isn't installed from snap store.
|
|
# Otherwise, snap store defines these aliases automatically.
|
|
snap aliases nova-hypervisor | grep neutron-ovs-cleanup || \
|
|
sudo snap alias nova-hypervisor.neutron-ovs-cleanup neutron-ovs-cleanup
|
|
snap aliases nova-hypervisor | grep neutron-netns-cleanup || \
|
|
sudo snap alias nova-hypervisor.neutron-netns-cleanup neutron-netns-cleanup
|
|
|
|
sudo neutron-ovs-cleanup
|
|
sudo neutron-netns-cleanup
|