Merge ~kajiya/+git/next-demo:pro-detach into ~kajiya/+git/next-demo:main

Proposed by Chloé Smith
Status: Superseded
Proposed branch: ~kajiya/+git/next-demo:pro-detach
Merge into: ~kajiya/+git/next-demo:main
Diff against target: 18 lines (+2/-0)
2 files modified
on-instance.sh (+1/-0)
token (+1/-0)
Reviewer Review Type Date Requested Status
Chloé Smith Pending
Review via email: mp+462974@code.launchpad.net

Commit message

feat: Add 'empty' token file as file and `pro detach`

Add a `pro detach "${TOKEN}"` command

* Also add the `token` file as a holder with explicit instructions to add a proper token afterwards

To post a comment you must log in.

Unmerged commits

f8d8f04... by Chloé Smith

feat: Add 'empty' token file as file and `pro detach`

Add a `pro detach "${TOKEN}"` command

* Also add the `token` file as a holder with explicit instructions
  to add a proper token afterwards

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/on-instance.sh b/on-instance.sh
2index 254b742..5c37565 100644
3--- a/on-instance.sh
4+++ b/on-instance.sh
5@@ -46,5 +46,6 @@ echo "=========================================================="
6 read -r -p "Would you like to switch to a bash session on this instance?(y/n)[n]" ANSWER
7 if [ "${ANSWER}" != "y" ];
8 then
9+ sudo pro detach --assume-yes
10 exit
11 fi
12diff --git a/token b/token
13new file mode 100644
14index 0000000..31f6e38
15--- /dev/null
16+++ b/token
17@@ -0,0 +1 @@
18+<insert-ubuntu-pro-token-here>

Subscribers

People subscribed via source and target branches

to all changes: