spacecmd configchannel_updateinitsls

AndreasG80AndreasG80 New or Quiet Member
edited August 5 in SUSE Manager

Hi there,
i'm struggling setting up a command line script for creating and updating configuration channels.
i was able to create a channel - however when trying to update the init.sls i just don't get it.

I found the command
spacecmd configchannel_updateinitsls
which in my opinion should do the job ... but whatever i try - i don't get it working :(

i always get the error message:
ERROR: You must provide the file contents

unfortunately it seems there is no documentation available for this command

basically i'm trying in different formats
spacecmd configchannel_updateinitsls < channel > < filename >
but neither combination works :(

all that i want is to upload a given init.sls into an existing (or to be created) config-channel

If someone got this working please reply :)
i'm using SUSE Manager v4.0.6

Thank you,
Andreas

Comments

  • AndreasG80AndreasG80 New or Quiet Member

    nevermind - got it working now :)
    spacecmd -y -- configchannel_updateinitsls -c test -f test.yml

Sign In or Register to comment.