-
Modify the client configuration file, normally
/etc/ubuntu-advantage/uaclient.conf
, to contain:features: disable_auto_attach: true
-
Run
sudo pro detach --assume-yes
On Pro instances, a pro detach
won't permanently detach the instance since
it will be automatically re-attached on the next boot (on non-GCE instances)
or immediately (on GCE instances due to the daemon).
The configuration in step 1 will prevent the daemon and the autoattach service from automatically re-attaching at next boot.
If you want to allow the instance to automatically re-attach by itself, then
remove or set disable_auto_attach
to false
in the configuration file.