RancherOS Hyper-V Installation, rancheroshyper-v
RancherOS Hyper-V Installation, Install to disk
Open the Hyper-V Management Interface and create a new virtual machine.
Enter the name and storage location
Select generation
Minimum: 1024 MB
Configure the network
Create a Virtual Disk
Set to start ISO, download
Created
Set Processor
Set the memory. Note: If dynamic memory is used, you need to limit the maximum memory.
Start a VM
Configure the SSH Client. Xshell 5 is used here.
Default user name and password rancher
Accept
$ sudo mkfs.ext4 -L RANCHER_STATE /dev/sda
Format the hard disk (do not perform this operation in Visual Testing. you can install it directly)
$ sudo reboot
Restart (same as above)
Configure cloud-config.yml, ssh certificate login (if not used, do not configure)
Enable the local HTTP server. hfs is used here (sftp can also be used)
$ cd /home$ sudo wget http://192.168.16.168:1008/cloud-config.yml
Download the configuration file
$ sudo ros install -c cloud-config.yml -d /dev/sda
Install
Installation Complete
On the Hyper-V virtual machine, set the DVD drive, media to none, and restart
Configure SSH certificate logon. The default user name is rancher.
Select Certificate
Logon successful