5 from invirt.config import structs as cfg
10 s/^node\.startup = manual/node.startup = automatic/m;
11 # mako just generally doesn't deal well with lines that start with
12 # hashes, so we'll strip them
14 # And empty lines too, just for cleanliness
17 # This is how long requests will sit in the queue before being failed
18 # up to the next layer (i.e. multipath)
19 s/^#?(node\.session\.timeo\.replacement_timeout).*$/\1 = 15/m;
24 node.session.auth.authmethod = CHAP
25 node.session.auth.username = ${cfg.iscsi.username}
26 node.session.auth.password = ${cfg.iscsi.password}
28 discovery.sendtargets.auth.authmethod = CHAP
29 discovery.sendtargets.auth.username = ${cfg.iscsi.username}
30 discovery.sendtargets.auth.password = ${cfg.iscsi.password}