-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathvm-linux-cloud-ubuntudesktop-amd64-22.04.conf
108 lines (82 loc) · 2.81 KB
/
vm-linux-cloud-ubuntudesktop-amd64-22.04.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# don't remove this line:
vm_profile="cloud-ubuntudesktop-amd64-22.04"
vm_os_type="linux"
# this is one-string additional info strings in dialogue menu
long_description="Ubuntu: 22.04.2 desktop (cloud)"
# fetch area:
fetch=1
# Use CBSD mirror by default due to
# official image is updated every day ;-(
iso_site="https://mirror.convectix.com/cloud/"
# Official CBSD project mirrors ( info: https://github.com/cbsd/mirrors )
cbsd_iso_mirrors="https://mirror.convectix.com/cloud/ https://raw.githubusercontent.com/cbsd/mirrors/refs/heads/main/cbsd-cloud.txt"
iso_img="cloud-Ubuntu-vdi-x86-22.04.raw"
iso_img_dist="cloud-Ubuntu-vdi-x86-22.04.raw.xz"
iso_img_type="cloud"
iso_extract="nice -n 19 ${IDLE_IONICE} ${XZ_CMD} -d cloud-Ubuntu-vdi-x86-22.04.raw.xz"
# register_iso as:
register_iso_name="cbsd-cloud-${iso_img}"
register_iso_as="cloud-ubuntu-vdi-x86-22.04"
default_jailname="ubuntu"
# disable profile?
xen_active=0
bhyve_active=1
qemu_active=1
# Available in ClonOS?
clonos_active=1
# Available for MyB? image name
myb_image="ubuntu22_vdi"
# VDI rdesktop settings
cbsd_vdi_image=1
cbsd_vdi_user="user"
cbsd_vdi_password="password"
cbsd_vdi_proto="rdp"
vm_ram="2g"
imgsize="11g"
# VNC
vm_vnc_port="0"
vm_efi="uefi"
vm_package="small1"
# VirtualBox Area
virtualbox_ostype="FreeBSD_64"
# is template for vm_obtain
is_template=1
is_cloud=1
sha256sum="daa5ecc71a049fd54d1c0353446aef938f9e9ecaf9e1c65e584f7e49325203de"
iso_img_dist_size="3117714044"
imgsize_min="10737418240" # 10g min
# enable birtio RNG interface?
virtio_rnd="1"
# boot via refind
hdd_boot_firmware="refind"
cd_boot_firmware="refind"
## cloud-init specific settings ##
ci_template="centos7"
#ci_user_pw_root='$6$HTOnZM2yoiqibWTd$pvEw3RmwoT87ou7R1vxW.awebejbm6OJDqT3HMvVwaWKI3t858uHr5GU.tum7Ou7RuU84BOtzG4DhChKhxvOp/'
ci_user_pw_root='*'
# default cloud-init user, can be multiple: "user1 user2 .."
ci_user_add='ubuntu'
# per-user example:
#ci_user_gecos_ubuntu='ubuntu user'
#ci_user_home_ubuntu='/home/ubuntu'
#ci_user_shell_ubuntu='/bin/bash'
#ci_user_member_groups_ubuntu='root'
#ci_user_pw_ubuntu_crypt='$6$6.MsoD3gCucRtZJP$mTdJJrHL2elXS4/KZ.423T8CpQRgMscWfX5dHpWUiHl21grw7timXlonHXyPB8P0AvrrJ892Il/MGd/0C84ke/'
#ci_user_pw_ubuntu_crypt='*'
#ci_user_pubkey_ubuntu=".ssh/id_rsa.pub"
# or global for single user:
ci_user_gecos='ubuntu user'
ci_user_home='/home/ubuntu'
ci_user_shell='/bin/bash'
ci_user_member_groups='root'
ci_user_pw_crypt='*'
ci_user_pubkey=".ssh/id_rsa.pub"
default_ci_ip4_addr="DHCP" # can be IP, e.g: 192.168.0.100
default_ci_gw4="auto" # can be IP, e.g: 192.168.0.1
ci_nameserver_address="8.8.8.8"
ci_nameserver_search="my.domain"
# apply master_prestart.d/cloud_init_set_netname.sh
ci_adjust_inteface_helper=1
#ci_interface_name="eth"
## cloud-init specific settings end of ##
login_cmd="xfreerdp /w:1280 /h:1024 /u:user /p:password /v:${ip4_addr}"