Skip to content

Instantly share code, notes, and snippets.

@sergiusens
Created April 16, 2015 22:06
Show Gist options
  • Save sergiusens/8d4d2b99b2e5d87c7a50 to your computer and use it in GitHub Desktop.
Save sergiusens/8d4d2b99b2e5d87c7a50 to your computer and use it in GitHub Desktop.
Disable autopilot
#!/bin/sh
CONFIG=/tmp/core_config
snappy config ubuntu-core > "$CONFIG"
sed -i 's/autopilot: .*$/autopilot: false/' > "$CONFIG"
sudo snappy config ubuntu-core "$CONFIG"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment