From 4d6726561a24fa8cb0da33247850c1a5e7c534b0 Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Tue, 11 Jul 2017 18:12:45 +0000 Subject: [PATCH] Use auto-alias for nova-manage The current snaps now have well-known aliases defined at install time for commands [1]. This means we can drop the manual alias definition from snapcraft.yaml and the instructions for setting it up. When building/installing locally users can still create the alias with 'snap alias'. [1] https://forum.snapcraft.io/t/auto-aliases-for-openstack-base-snaps/1146/6 Change-Id: Iab9fce6b31aaf4d135317814a3ef03985936a858 --- README.md | 8 -------- snapcraft.yaml | 2 -- 2 files changed, 10 deletions(-) diff --git a/README.md b/README.md index 11ca21f..ccaeafa 100644 --- a/README.md +++ b/README.md @@ -91,14 +91,6 @@ uwsgi/snap/nova-placement-api.ini will no longer be used. The services for the nova snap will log to its $SNAP_COMMON writable area: /var/snap/nova/common/log. -## Managing nova - -The nova snap has alias support that enables use of the well-known -nova-manage command. To enable the alias, run the following prior to -using the command: - - sudo snap alias nova.manage nova-manage - ## Restarting nova services To restart all nova services: diff --git a/snapcraft.yaml b/snapcraft.yaml index 42a6fa5..9890b29 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -52,8 +52,6 @@ apps: - network manage: command: snap-openstack nova-manage - aliases: - - nova-manage plugs: - network parts: