From: Richard W.M. Jones Date: Sat, 1 Feb 2014 08:40:49 +0000 (+0100) Subject: Updates for 2014 FOSDEM talk. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=3088da487fc9ed88f3d4dc2c70ad8d8fa303e785;p=libguestfs-talks.git Updates for 2014 FOSDEM talk. --- diff --git a/2014-fosdem/builder.sh b/2014-fosdem/builder.sh index d767e15..a5cde06 100755 --- a/2014-fosdem/builder.sh +++ b/2014-fosdem/builder.sh @@ -3,7 +3,9 @@ VIRT_BUILDER_SOURCE=file://$HOME/d/libguestfs/builder/website/index.asc export VIRT_BUILDER_SOURCE -guests=( $(virt-builder -l | awk '{print $1}') ) +guests=( $( + virt-builder -l | awk '{print $1}' +) ) formats=( raw qcow2 ) count=0 @@ -11,14 +13,16 @@ while true; do guest=${guests[$(($RANDOM % ${#guests[*]}))]} format=${formats[$(($RANDOM % ${#formats[*]}))]} - ((count++)); echo -e "\n*** Building guest # $count\n" + ((count++)) + echo -e "\n*** Building guest # $count\n" virt-builder $guest --output $guest.img \ --format $format \ --no-sync \ --hostname test$count.example.com \ --timezone Europe/Brussels \ - --write '/etc/motd:Welcome to FOSDEM 2014' + --write '/etc/motd: + Welcome to FOSDEM 2014' rm $guest.img; # Save space! done diff --git a/2014-fosdem/rjones-libguestfs-2014-fosdem.odp b/2014-fosdem/rjones-libguestfs-2014-fosdem.odp index 6f84ef9..3feb959 100644 Binary files a/2014-fosdem/rjones-libguestfs-2014-fosdem.odp and b/2014-fosdem/rjones-libguestfs-2014-fosdem.odp differ diff --git a/2014-fosdem/set-prompt b/2014-fosdem/set-prompt new file mode 100644 index 0000000..d1db9b6 --- /dev/null +++ b/2014-fosdem/set-prompt @@ -0,0 +1 @@ +export PS1='\$ '