diff options
author | zdc <zdc@users.noreply.github.com> | 2021-03-18 17:53:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-18 17:53:11 +0200 |
commit | 9567e74b856331e24149158eda302b0bf1cbc47a (patch) | |
tree | 577c07b3d85f531ce6704e367c4a29f6e9a2427e /roles/install-config/templates/config.boot.j2 | |
parent | c084415cff751d488d1460e58203ade538aea754 (diff) | |
parent | c3cd4a20671b5a1313b5eb8e534fd8d1cf67db9f (diff) | |
download | vyos-vm-images-9567e74b856331e24149158eda302b0bf1cbc47a.tar.gz vyos-vm-images-9567e74b856331e24149158eda302b0bf1cbc47a.zip |
Merge pull request #13 from zdc/current
Multiple build improvements
Diffstat (limited to 'roles/install-config/templates/config.boot.j2')
-rw-r--r-- | roles/install-config/templates/config.boot.j2 | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/roles/install-config/templates/config.boot.j2 b/roles/install-config/templates/config.boot.j2 index 30506f8..852905e 100644 --- a/roles/install-config/templates/config.boot.j2 +++ b/roles/install-config/templates/config.boot.j2 @@ -10,7 +10,9 @@ system { {% endif %} plaintext-password "" } +{% if vyos_version | regex_search('(^1\.2)') %} level admin +{% endif %} } } syslog { @@ -33,18 +35,6 @@ system { } } interfaces { -{% if cloud_init == "true" and not ( empty_config is defined and empty_config == "true" ) %} - ethernet eth0 { - address dhcp - } -{% endif %} loopback lo { } } -{% if cloud_init == "true" and not ( empty_config is defined and empty_config == "true" ) %} -service { - ssh { - port 22 - } -} -{% endif %} |