Čia matote skirtumus tarp pasirinktos versijos ir esamo dokumento.
Both sides previous revision Previous revision Next revision | Previous revision | ||
vdi:linux [2020/02/17 14:32] rolnas [Pradinės VM OS paruošimas] |
vdi:linux [2022/09/12 11:19] (esamas) rolnas [Pradinės VM OS paruošimas] |
||
---|---|---|---|
Linija 8: | Linija 8: | ||
* **Target hypervisor: | * **Target hypervisor: | ||
* **Specify disk path:** / | * **Specify disk path:** / | ||
- | * **Disk size: | + | * **Disk size: |
* **Mount CD iso:** nepasirinkta (instaliuosime per tinklą) | * **Mount CD iso:** nepasirinkta (instaliuosime per tinklą) | ||
* **Hardware info:** 1 Sockets, 4 Cores, 4GB RAM, br428 Network | * **Hardware info:** 1 Sockets, 4 Cores, 4GB RAM, br428 Network | ||
* **OS Type:** Linux | * **OS Type:** Linux | ||
- | * **Version: | + | * **Version: |
* **Prepend machine name:** **vdi-linuxN** arba **vdi-linux-rdpN**, | * **Prepend machine name:** **vdi-linuxN** arba **vdi-linux-rdpN**, | ||
* **Number of machines to create:** 1 | * **Number of machines to create:** 1 | ||
Linija 29: | Linija 29: | ||
* Prisijungiame prie **linuxN**: '' | * Prisijungiame prie **linuxN**: '' | ||
< | < | ||
- | root@vdi-linux: | + | root@vdi-linux: |
- | apt update | + | apt update |
- | root@vdi-linux: | + | apt install --no-install-recommends eatmydata puppet |
- | apt install --no-install-recommends eatmydata puppet | + | apt clean |
- | root@vdi-linux: | + | |
- | apt clean | + | puppet cert clean vdi-linux.mif |
- | root@k007:~ # puppet cert clean vdi-linux.mif | + | |
- | root@vdi-linux: | + | puppet agent --test --noop |
- | root@k007:~ # puppet cert sign vdi-linux.mif | + | |
- | root@vdi-linux: | + | puppet cert sign vdi-linux.mif |
- | root@vdi-linux: | + | |
- | root@vdi-linux: | + | eatmydata puppet agent --test |& tee puppet.log |
- | root@vdi-linux: | + | eatmydata puppet agent --test |& tee puppet2.log |
- | root@vdi-linux:~# rm zero.img | + | sync; |
- | root@vdi-linux: | + | dd if=/ |
</ | </ | ||
Linija 55: | Linija 55: | ||
* Iš **VDI control** vykdome **Copy disk from source** | * Iš **VDI control** vykdome **Copy disk from source** | ||
* Kai baigia kopijuoti, vykdome **VDI control** -> **Turn maintenance off** | * Kai baigia kopijuoti, vykdome **VDI control** -> **Turn maintenance off** | ||
+ | * Jei buvo keista **pradinė VM**, tai reikia kopijuoti **du kartus** | ||
* Jei dar nėra **linux1a-M**, | * Jei dar nėra **linux1a-M**, | ||
* **Machine type:** Initial machine | * **Machine type:** Initial machine | ||
Linija 60: | Linija 61: | ||
* **Use volume from:** pasirenkame **vdi-linuxN** arba **vdi-linux-rdpN** | * **Use volume from:** pasirenkame **vdi-linuxN** arba **vdi-linux-rdpN** | ||
* **Specify disk path:** / | * **Specify disk path:** / | ||
- | * **Disk size: | + | * **Disk size: |
- | * **Hardware info:** 1 Sockets, 4 Cores, | + | * **Hardware info:** 1 Sockets, 4 Cores, |
* **OS Type:** Linux | * **OS Type:** Linux | ||
- | * **Version: | + | * **Version: |
* **Prepend machine name:** **linux1a-M**, | * **Prepend machine name:** **linux1a-M**, | ||
* **Number of machines to create:** 1 | * **Number of machines to create:** 1 | ||
Linija 76: | Linija 77: | ||
* **Use volume from:** pasirenkame **linux1a-M** | * **Use volume from:** pasirenkame **linux1a-M** | ||
* **Specify disk path:** / | * **Specify disk path:** / | ||
- | * **Hardware info:** 1 Sockets, 4 Cores, | + | * **Hardware info:** 1 Sockets, 4 Cores, |
* **OS Type:** Linux | * **OS Type:** Linux | ||
- | * **Version: | + | * **Version: |
* **Prepend machine name:** linux-K-, kur K -- būsimų IP adresų priešpaskutinis segmentas | * **Prepend machine name:** linux-K-, kur K -- būsimų IP adresų priešpaskutinis segmentas | ||
- | * **Number of machines to create: | + | * **Number of machines to create: |
* Spaudžiame **Create VMs** | * Spaudžiame **Create VMs** | ||
* **VDI control** -> **Turn on snapshots** | * **VDI control** -> **Turn on snapshots** | ||
* Patikrinime vieną iš jų, jei viskas gerai tada **VDI control** -> **Turn maintenance off** | * Patikrinime vieną iš jų, jei viskas gerai tada **VDI control** -> **Turn maintenance off** | ||