summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2015-12-18 06:18:18 -0500
committerDaniil Baturin <daniil@baturin.org>2015-12-18 06:18:18 -0500
commit8688ace193d7a41e60fdf5ec5d092c7f31870207 (patch)
tree9c9f7ee719e5ff1c97b47959e3dc7fd49809a43b
parent81822aeb7f18aa632c28456f06ecb19a7c895340 (diff)
downloadvyos-build-8688ace193d7a41e60fdf5ec5d092c7f31870207.tar.gz
vyos-build-8688ace193d7a41e60fdf5ec5d092c7f31870207.zip
Add image data includes copying step to the makefile.
-rw-r--r--Makefile1
-rw-r--r--data/includes.chroot/etc/fuse.conf1
-rw-r--r--data/includes.chroot/opt/vyatta/etc/config.boot.default39
3 files changed, 41 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7cf0a1d4..19021376 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@ iso:
@scripts/check-config
@scripts/live-build-config
+ cp -r data/includes.chroot/* build/config/includes.chroot/
@echo "The rest is not yet implemented ;)"
diff --git a/data/includes.chroot/etc/fuse.conf b/data/includes.chroot/etc/fuse.conf
new file mode 100644
index 00000000..a439ab82
--- /dev/null
+++ b/data/includes.chroot/etc/fuse.conf
@@ -0,0 +1 @@
+user_allow_other
diff --git a/data/includes.chroot/opt/vyatta/etc/config.boot.default b/data/includes.chroot/opt/vyatta/etc/config.boot.default
new file mode 100644
index 00000000..f5ec2b5d
--- /dev/null
+++ b/data/includes.chroot/opt/vyatta/etc/config.boot.default
@@ -0,0 +1,39 @@
+system {
+ login {
+ user vyos {
+ authentication {
+ encrypted-password $6$QxPS.uk6mfo$9QBSo8u1FkH16gMyAVhus6fU3LOzvLR9Z9.82m3tiHFAxTtIkhaZSWssSgzt4v4dGAL8rhVQxTg0oAG9/q11h/
+ 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"
+ }
+ console {
+ device ttyS0 {
+ speed 9600
+ }
+ }
+ config-management {
+ commit-revisions 100
+ }
+}
+
+interfaces {
+ loopback lo {
+ }
+}