Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-cloud / recipes-support / puppet / files / stx-puppet / poky-specific-apply-network-config-script.patch
1 diff -ru a/puppet-manifests/src/modules/platform/manifests/network.pp b/puppet-manifests/src/modules/platform/manifests/network.pp
2 --- a/puppet-manifests/src/modules/platform/manifests/network.pp        2020-04-08 19:10:04.478548420 +0800
3 +++ b/puppet-manifests/src/modules/platform/manifests/network.pp        2020-04-08 19:10:22.674548916 +0800
4 @@ -208,8 +208,14 @@
5    -> Network_route6 <| |>
6    -> Exec['apply-network-config']
7  
8 -  exec {'apply-network-config':
9 -    command => 'apply_network_config.sh',
10 +  if($::operatingsystem == 'poky-stx') {
11 +    exec {'apply-network-config':
12 +      command => 'apply_network_config_poky.sh',
13 +    }
14 +  } else {
15 +    exec {'apply-network-config':
16 +      command => 'apply_network_config.sh',
17 +    }
18    }
19  }
20