diff --git a/pythonrewrite/bin/cryptobox.conf b/pythonrewrite/bin/cryptobox.conf index 42c1af5..d60f9dc 100644 --- a/pythonrewrite/bin/cryptobox.conf +++ b/pythonrewrite/bin/cryptobox.conf @@ -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 diff --git a/pythonrewrite/bin/uml-setup.sh b/pythonrewrite/bin/uml-setup.sh index f299de7..8826f3d 100755 --- a/pythonrewrite/bin/uml-setup.sh +++ b/pythonrewrite/bin/uml-setup.sh @@ -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