added MEMSIZE option to uml-setup.sh
changed default cipher to plain aes without essiv (otherwise it does not work with the uml-kernel)
This commit is contained in:
parent
0d41663ec3
commit
a2043742e0
2 changed files with 6 additions and 4 deletions
|
@ -2,14 +2,15 @@
|
|||
|
||||
# comma separated list of possible prefixes for accesible devices
|
||||
# beware: .e.g "/dev/hd" grants access to _all_ harddisks
|
||||
AllowedDevices = /dev/loop
|
||||
AllowedDevices = /dev/loop, /dev/ubdb
|
||||
|
||||
|
||||
# the default name prefix of not unnamed containers
|
||||
DefaultVolumePrefix = "Data "
|
||||
|
||||
# which cipher should cryptsetup-luks use?
|
||||
DefaultCipher = aes-cbc-essiv:sha256
|
||||
#TODO: uml does not support this module - DefaultCipher = aes-cbc-essiv:sha256
|
||||
DefaultCipher = aes-plain
|
||||
|
||||
# label of the configuration partition (you should never change this)
|
||||
ConfigVolumeLabel = cbox_config
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
ROOT_IMG=~/devel-stuff/devel-chroots/cryptobox.img
|
||||
ROOT_IMG=/home/lars/devel-stuff/devel-chroots/cryptobox.img
|
||||
TEST_IMG=test.img
|
||||
TEST_SIZE=256
|
||||
MEM_SIZE=128M
|
||||
|
||||
# Preparations:
|
||||
# echo "tun" >>/etc/modules
|
||||
|
@ -18,5 +19,5 @@ if [ ! -e "$TEST_IMG" ]
|
|||
dd if=/dev/zero of="$TEST_IMG" bs=1M count=$TEST_SIZE
|
||||
fi
|
||||
|
||||
linux ubd0="$ROOT_IMG" ubd1="$TEST_IMG" con=xterm hostfs=../ fakehd eth0=daemon
|
||||
linux ubd0="$ROOT_IMG" ubd1="$TEST_IMG" con=xterm hostfs=../ fakehd eth0=daemon mem=$MEM_SIZE
|
||||
|
||||
|
|
Loading…
Reference in a new issue