Intelligent Desktop Virtualization (IDV) for Education
Create ISO Image for IDV Server (Ubuntu)
Follow these instructions to generate the IDV Server installer ISO file. The installer simplifies the IDV Server 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 ISO file system by entering instructions in Table 5 into the virtual environment terminal below.
- 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, then select ubuntu.seed on the left drop-down list. Update the content to the configuration below. The content for the preseed can also be found in /opt/idv/artifact/idvserver/preseed.txt.
- Configure the grub settings. Click the Boot tab and 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/idvserver/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 5. Instructions to Customize File System of IDV Server
mkdir -p /opt/idv
cd /opt/idv
# Copy and unzip idv-v1.3.13.zip
scp sysadmin@localhost:~/idv_setup/idv-v1.3.13.zip .
unzip idv-v1.3.13.zip
chmod +x ./setup.idvserver.cubic.sh
# Run setup script to start provisioning idvserver
# 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”
./setup.idvserver.cubic.sh --http_proxy <http_proxy> --https_proxy <https_proxy> --no_proxy <no_proxy> --password <idvuser password>
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 idvserver
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
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 Server" {
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