Created
May 21, 2012 15:16
-
-
Save mattikus/2762868 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Bundle name="networkinterfaces" xmlns:py="http://genshi.edgewall.org/"> | |
<?python | |
bcfg_root = path.split('/Cfg')[0] | |
confile_file = os.path.join(bcfg_root, 'etc/networkinterfaces.conf') | |
?> | |
<Path name='${config_file}' /> | |
</Bundle> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% python | |
import os | |
bcfg_root = path.split('/Cfg')[0] | |
config_file = os.path.join(bcfg_root, 'etc/networkinterfaces.conf') | |
%} | |
${bcfg_root} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failed to render bundle networkinterfaces.genshi for host vestalac1: "path" not defined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment