# spacecmd configchannel\_updateinitsls

**URL:** <https://forums.suse.com/t/spacecmd-configchannel-updateinitsls/35199>\
**Category:** SUSE Multi Linux Manager\
**Created:** [August 5, 2020, 6:23am UTC](https://forums.suse.com/t/spacecmd-configchannel-updateinitsls/35199 "2020-08-05T06:23:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndreasG80](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@AndreasG80](https://forums.suse.com/u/AndreasG80)\
**Post date:** [August 5, 2020, 6:23am UTC](https://forums.suse.com/t/spacecmd-configchannel-updateinitsls/35199/1 "2020-08-05T06:23:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![AndreasG80](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@AndreasG80](https://forums.suse.com/u/AndreasG80)\
**Post date:** [August 5, 2020, 8:13am UTC](https://forums.suse.com/t/spacecmd-configchannel-updateinitsls/35199/2 "2020-08-05T08:13:12Z")

</div>

nevermind - got it working now 🙂  
spacecmd -y – configchannel\_updateinitsls -c test -f test.yml
