* Bart Bunting <b...@bunting.net.au> wrote:
> Good morning,

Hi!

> What I would like to achieve is to have a table containing a few values,
> e.g. ip address vlan number etc.
>
> Then have a cisco config in the org file with markers where the
> substitutions are to be inserted.
> Run through the table and create a node in the org file one for each row
> of the table.

Are you planning to use this as a one-time creation thing or do you
want to re-run (and re-generate) the configs from the same table
multiple times?

> The end result should be a set of cisco configs with the substitutions
> made.  I was hoping to also use shell to call pwgen to generate a
> random password to insert.

If it is one-time only, you might be happy using a yasnippet
template which generates your substitutions.

-- 
Karl Voit


Reply via email to