summaryrefslogtreecommitdiff
path: root/roles/qemu/files/config.boot
diff options
context:
space:
mode:
authorYuya Kusakabe <yuya.kusakabe@gmail.com>2018-06-20 23:06:38 +0900
committerYuya Kusakabe <yuya.kusakabe@gmail.com>2018-06-20 23:06:38 +0900
commit8c9f3a8e7bd9a937bcc4401a27246e258c5b4e4c (patch)
tree7d6d52fc658e13170d5c92f2c11055b2eb04ee3e /roles/qemu/files/config.boot
downloadvyos-vm-images-8c9f3a8e7bd9a937bcc4401a27246e258c5b4e4c.tar.gz
vyos-vm-images-8c9f3a8e7bd9a937bcc4401a27246e258c5b4e4c.zip
Initial QEMU support
Diffstat (limited to 'roles/qemu/files/config.boot')
-rw-r--r--roles/qemu/files/config.boot41
1 files changed, 41 insertions, 0 deletions
diff --git a/roles/qemu/files/config.boot b/roles/qemu/files/config.boot
new file mode 100644
index 0000000..f1ec4f5
--- /dev/null
+++ b/roles/qemu/files/config.boot
@@ -0,0 +1,41 @@
+service {
+ ssh {
+ port 22
+ }
+}
+system {
+ host-name vyos
+ login {
+ user vyos {
+ authentication {
+ encrypted-password "$6$MjV2YvKQ56q$QbL562qhRoyUu8OaqrXagicvcsNpF1HssCY06ZxxghDJkBCfSfTE/4FlFB41xZcd/HqYyVBuRt8Zyq3ozJ0dc."
+ plaintext-password ""
+ }
+ level admin
+ }
+ }
+ syslog {
+ global {
+ facility all {
+ level notice
+ }
+ facility protocols {
+ level debug
+ }
+ }
+ }
+ ntp {
+ server "0.pool.ntp.org"
+ server "1.pool.ntp.org"
+ server "2.pool.ntp.org"
+ }
+ config-management {
+ commit-revisions 100
+ }
+}
+interfaces {
+ ethernet eth0 {
+ address dhcp
+ }
+ loopback lo
+}