(FunctionDef provision-network-node [] (List (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Provisioning network on node"]]} ) (= scope= flags=0 words=[] bindings=[('FLANNEL_ETCD_URL', {[DQ [LIT_CHARS "http://"][VarSub MASTER_IP][LIT_CHARS ":4379"]]})]) (If (Pipeline! (Com {[LIT_CHARS which]} {[LIT_CHARS flanneld]} < (FilenameRedirectNode filename={[LIT_CHARS /dev/null]} "> 1), (DescriptorRedirectNode target={[LIT_CHARS 1]} &"> 2), > ) ) (List (Com {[LIT_CHARS dnf]} {[LIT_CHARS install]} {[LIT_CHARS -y]} {[LIT_CHARS flannel]} ) (= scope= flags=0 words=[] bindings=[('NETWORK_CONF_PATH', {[LIT_CHARS /etc/sysconfig/network-scripts/]})]) (= scope= flags=0 words=[] bindings=[('if_to_edit', {[ComSub (Pipeline (Com {[LIT_CHARS find]} {[VarSub NETWORK_CONF_PATH] [LIT_CHARS ifcfg-] [LIT_OTHER "*"]}) (Com {[LIT_CHARS xargs]} {[LIT_CHARS grep]} {[LIT_CHARS -l]} {[LIT_CHARS VAGRANT-BEGIN]}) )]})]) (= scope= flags=0 words=[] bindings=[('NETWORK_IF_NAME', {[ComSub (Pipeline (Com {[LIT_CHARS echo]} {[VarSub if_to_edit]}) (Com {[LIT_CHARS awk]} {[LIT_CHARS -F-]} {[SQ ]}) )]})]) (If (DBracket {B1 UNARY_STRING_z {[DQ [VarSub NETWORK_IF_NAME]]}}) (= scope= flags=0 words=[] bindings=[('NETWORK_IF_NAME', {[VarSub DEFAULT_NETWORK_IF_NAME]})]) ) (Com {[LIT_CHARS cat]} < (HereDocRedirectNode here_end='EOF' do_expansion=True body_word={[DQ [LIT_CHARS "FLANNEL_ETCD="][RIGHT_D_QUOTE "\""][VarSub FLANNEL_ETCD_URL][RIGHT_D_QUOTE "\""][LIT_CHARS "\n"][LIT_CHARS "FLANNEL_ETCD_KEY="][RIGHT_D_QUOTE "\""][LIT_CHARS /coreos.com/network][RIGHT_D_QUOTE "\""][LIT_CHARS "\n"][LIT_CHARS "FLANNEL_OPTIONS="][RIGHT_D_QUOTE "\""][LIT_CHARS "-iface="][VarSub NETWORK_IF_NAME][LIT_CHARS " --ip-masq"][RIGHT_D_QUOTE "\""][LIT_CHARS "\n"]]} 0), (FilenameRedirectNode filename={[LIT_CHARS /etc/sysconfig/flanneld]} "> 1), > ) (Com {[LIT_CHARS systemctl]} {[LIT_CHARS enable]} {[LIT_CHARS flanneld]} ) (Com {[LIT_CHARS systemctl]} {[LIT_CHARS start]} {[LIT_CHARS flanneld]} ) ) ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Network configuration verified"]]} ) ) )