diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-09-26 14:06:11 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-09-26 14:06:11 +0200 |
| commit | 8899d58437b396487d20e584c6f9aefd346eb130 (patch) | |
| tree | f453ae5985aa469fb924e6c0c882e5894644baf8 /tools/create-image.sh | |
| parent | 881bc4f9563e82efda303447725d82f10ef9c29a (diff) | |
tools/create-gce-image.sh: mount securityfs and configfs
Diffstat (limited to 'tools/create-image.sh')
| -rwxr-xr-x | tools/create-image.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/create-image.sh b/tools/create-image.sh index bb1030ce8..7207076dc 100755 --- a/tools/create-image.sh +++ b/tools/create-image.sh @@ -19,6 +19,8 @@ echo 'T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100' | sudo tee -a $DIR/etc/in printf '\nauto eth0\niface eth0 inet dhcp\n' | sudo tee -a $DIR/etc/network/interfaces echo '/dev/root / ext4 defaults 0 0' | sudo tee -a $DIR/etc/fstab echo 'debugfs /sys/kernel/debug debugfs defaults 0 0' | sudo tee -a $DIR/etc/fstab +echo 'securityfs /sys/kernel/security securityfs defaults 0 0' | sudo tee -a $DIR/etc/fstab +echo 'configfs /sys/kernel/config/ configfs defaults 0 0' | sudo tee -a $DIR/etc/fstab echo 'binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0' | sudo tee -a $DIR/etc/fstab echo "kernel.printk = 7 4 1 3" | sudo tee -a $DIR/etc/sysctl.conf echo 'debug.exception-trace = 0' | sudo tee -a $DIR/etc/sysctl.conf |
