[cobbler] iterating of a list stored in ksmeta

Harry Hoffman hhoffman at ip-solutions.net
Sun Mar 3 01:59:11 UTC 2013


Hi All,

I've got a value (actually several) stored in ksmeta for a list of 
users.

Kickstart Metadata: {'users': 'user1,user2,user3', 'rootmail': 
'user at fq.dn'}

I'm trying to iterate over the list of users to be able to create users 
in my kickstart file.

I was trying to do something like:
#for $uname = $users.split(',')
user --name=$user
#end for

But that doesn't seem to work.

Anyone know how to do this?

Cheers,
Harry



More information about the cobbler mailing list