Intelligent Desktop Virtualization (IDV) for Education
Create ISO Image for IDV Host
Follow these instructions to generate the IDV Host installer ISO file. The installer simplifies the IDV Host setup process.
- Launch the Terminal application and create a project folder.
- Launch Cubic and click the folder icon to choose the project folder created from Step 1 to store the output ISO file. Click Select and click Next.
- In the Filename field, choose the pre-downloaded Ubuntu Desktop ISO file (Ubuntu 22.04.4 for MTL) and click Next. Cubic will decompress the ISO file content into the project folder.
- Customize the file system by entering these instructions in Table 6 into the virtual environment terminal.
- When saw prompt as below, press N to continue.
- Click Next to proceed.
- Remove the gnome-initial-setup package by checking the checkbox for both Standard and Minimal options. Click Next to proceed.
- Enable automatic installation by configuring ubuntu.seed. Click the Preseed tab > select ubuntu.seed on the left drop-down list. Update the content to the configurations shown here. The content for the preseed can also be found in /opt/idv/artifact/idvhost/preseed.txt.
- Configure the grub settings. Click the Boot tab > select grub.cfg on the left drop-down list. Update the content to the configurations below. The content can also be found in /opt/idv/artifact/idvhost/grub.txt. Click Next to proceed.
- Click Generate to create the custom ISO file.
- Once done, check the Delete all project files checkbox and click Close to close the Cubic.
Table 6. Instructions to Customize File System of IDV Host
mkdir -p /opt/idv
cd /opt/idv
# Copy IDV package, SRIOV package and artifact package
scp sysadmin@localhost:~/idv_setup/*.zip .
unzip idv-v1.3.13.zip
# For ADL host
chmod +x ./setup.idvhost.cubic.sh
# For MTL host
chmod +x ./mtl.setup.idvhost.cubic.sh
# Optional: To change the default wallpaper, place the new wallpaper in ~/idv_setup/artifact/<wallpaper>.png and run the command below
scp sysadmin@localhost:~/idv_setup/artifact/<wallpaper>.png /opt/idv/artifact/<wallpaper>
# Run setup script to start provisioning idvhost
# Optional: Run the script with proxy arguments if the environment require proxy
# Optional: Add the password argument if wish to change the default password
# Default password for idvuser is “Intel@123”
# For ADL host
./setup.idvhost.cubic.sh --http_proxy <http_proxy> --https_proxy <https_proxy> --no_proxy <no_proxy> --password <idvuser password>
# For MTL host
./mtl.setup.idvhost.cubic.sh --http_proxy <http_proxy> --https_proxy <https_proxy> --no_proxy <no_proxy> --password <idvuser password>
Note: For more customization on IDV Server mode setup, refer to section 6.8
If you observed an error message as ERROR couldn't connect to zsys daemon, ignore and proceed to Step 6.
ubiquity ubiquity/download_updates boolean false
ubiquity ubiquity/use_nonfree boolean false
ubiquity ubiquity/minimal_install boolean true
d-i debian-installer/language string en
d-i debian-installer/locale string en_US.UTF-8
d-i debian-installer/country string MY
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
d-i keyboard-configuration/xkb-keymap select us
d-i keyboard-configuration/variant select English (US)
d-i keyboard-configuration/layoutcode select us
d-i keyboard-configuration/modelcode select pc105
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string idvhost
d-i netcfg/get_domain string localdomain
d-i netcfg/wireless_wep string
d-i mirror/country string MY
d-i mirror/http/hostname string my.archive.ubuntu.com
d-i mirror/http/directory string /ubuntu
d-i mirror/http/mirror select my.archive.ubuntu.com
d-i clock-setup/utc-auto boolean true
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
d-i time/zone string Asia/Kuala_Lumpur
d-i partman-auto/init_automatically_partition select biggest_free
d-i partman-auto/method string regular
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-auto/choose_recipe select atomic
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select Finish partitioning and write changes to disk
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i passwd/user-fullname string sysadmin
d-i passwd/username string sysadmin
d-i passwd/user-password-crypted password $1$/TEtBqkw$7RPdA4NxKzFuySLsckiWW1
d-i user-setup/allow-password-weak boolean true
d-i user-setup/encrypt-home boolean false
#d-i passwd/auto-login boolean true
tasksel tasksel/first multiselect ubuntu-desktop
d-i pkgsel/include string openssh-server git-core
d-i pkgsel/upgrade select none
d-i pkgsel/update-policy select none
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note
ubiquity ubiquity/reboot boolean true
set timeout=5
loadfont unicode
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
menuentry "Autoinstall IDV Host" {
set gfxpayload=keep
linux /casper/vmlinuz auto=true noprompt boot=casper file=/cdrom/preseed/ubuntu.seed automatic-ubiquity quiet splash ---
initrd /casper/initrd.gz
}
grub_platform