Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Nov 13, 2014 4:41 pm 
Offline
Newbie

Joined: Sun Sep 14, 2014 8:45 pm
Posts: 3
How to make a public/Community StackScript private again? What I mean, why I ask:

I'm trying to update a StackScript I wrote/own. I had previously used it, so made it public as part of making it accessible to this question. Did I test this old code first? Of course not :-(

Now that I've tested it, I find that it does not currently work :-( So I'd like to undo making it public, but I can't find any UI for that. Alternatively, I tried unchecking its Current Distribution, but when I hit button='Save Changes', it says

Code:
You must choose Distributions this script can run on (DistributionIDList can't be empty)


Last edited by TomRoche on Thu Nov 13, 2014 11:28 pm, edited 1 time in total.

Top
   
PostPosted: Thu Nov 13, 2014 4:51 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Hello,

Once it goes public, you must remove the script to eliminate public availability. This probably sound weird, but it was deliberate - however I cannot recall past-self's reasoning at this moment.

Anyway - copy the script source, delete the orig, and save it into a new StackScript entry. Done.

-Chris


Top
   
PostPosted: Thu Nov 13, 2014 4:58 pm 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
Or use the API :)

https://www.linode.com/api/stackscript/ ... ipt.update

- Les


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group