From a664566226fa8087d10620155e118e9a81b6ea99 Mon Sep 17 00:00:00 2001 From: Hiroshi Yamamoto Date: Sun, 10 Nov 2013 15:09:17 +0900 Subject: [PATCH] Set os_type_id correctly. --- definitions/vcore-tc.5.0.2-core-i386/definition.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/definitions/vcore-tc.5.0.2-core-i386/definition.rb b/definitions/vcore-tc.5.0.2-core-i386/definition.rb index 8013ff7..8dddde9 100644 --- a/definitions/vcore-tc.5.0.2-core-i386/definition.rb +++ b/definitions/vcore-tc.5.0.2-core-i386/definition.rb @@ -4,7 +4,7 @@ :disk_size => '512', :disk_format => 'VDI', :hostiocache => 'off', - :os_type_id => 'Linux', + :os_type_id => 'Linux26', #:iso_file => "CorePlus-5.0.2.iso", #:iso_src => "http://distro.ibiblio.org/tinycorelinux/5.x/x86/release/CorePlus-5.0.2.iso", #:iso_md5 => '406bf68601aed0a6e29114d4eb280d1d', @@ -27,7 +27,7 @@ 'sudo mount /dev/sda1 /mnt/sda1', 'sudo mkdir -p /mnt/sda1/boot/grub', 'sudo mount /dev/sr0 /mnt/sr0', - 'cd /mnt/sr0/bootsudo cp core.gz vmlinuz /mnt/sda1/boot/', + 'cd /mnt/sr0/bootsudo cp core.gz vmlinuz /mnt/sda1/boot/cd', 'tce-load -wi grub2', ''*35, 'sudo grub-install --boot-directory=/mnt/sda1/boot /dev/sda', 'sudo sh -c "cat > /mnt/sda1/boot/grub/grub.cfg" << EOF',