Quantcast
Channel: THWACK: All Content - Network Configuration Manager
Viewing all articles
Browse latest Browse all 6057

Escaping the @ symbol?

$
0
0

Hi,

 

Another thing I'm struggeling with regarding Config Change Templates.

I'm trying to write a script that download a new IOS version from a filesserver to flash.

The trouble I'm hitting is that @ip-adress is interpreted as a variable...

 

/*

... output omitted...

{

  CLI

  {

   copy scp://username:password@ip-address/@IOSImage flash:

   @IOSImage

  }

}

 

... so I was trying to alter the script like this instead...

 

/*

... output omitted...

{

  CLI

  {

   copy scp: flash:

   ip-adress

   username

   @IOSImage

   @IOSImage

   password

  }

}

 

... but this doesnt seem to work either.

 

So anyone know if it's possible to escape the @ symbol so it doesn't mean anything else than just a @ symbol?


Viewing all articles
Browse latest Browse all 6057

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>