You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/incomplete/webvirtcloud_retspen.md
+44-3Lines changed: 44 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -103,15 +103,56 @@ The default login for the image is:
103
103
-**Username**: `root`
104
104
-**Password**: `password` or `oneclickvirt`
105
105
106
+
107
+
After booting, you will find that the hard disk is only the size of the original image, at this time you need to adjust the size of the hard disk, you need to shut down the computer again, at this time, you can see the buttons on the following page is available and the size of the hard disk is also recognized.
108
+
109
+
Without the first boot, the size of the hard disk is not recognized, recognition can not be modified, so the first switch is necessary.
110
+
111
+

112
+
113
+
After the modification and restart the virtual machine, you will find that there is new disk space unallocated, at this time you need to follow the following method broad disk.
114
+
115
+
Check the disk path and remaining blank space unallocated:
116
+
117
+
```shell
118
+
lsblk
119
+
```
120
+
121
+
Then use the following command to broaden the disk
122
+
123
+
```shell
124
+
fdisk /dev/vda
125
+
```
126
+
127
+
Do this in the following order:
128
+
129
+
Type ```d``` to delete the old partition (yes, you need to delete the old vda1, no data will be lost as it will not be formatted later).
130
+
131
+
Type ```n``` and enter to create a new partition.
132
+
133
+
Select primary for type (default p) and just enter.
134
+
135
+
Partition number is also ```1```.
136
+
137
+
The start position must be the same as the old partition (default is right), just press enter.
138
+
139
+
Show if you want to erase fingerprints, type ```Y``` and enter.
140
+
141
+
Press enter at the end position to use all the remaining space.
142
+
143
+
Type ```w``` to save and exit.
144
+
145
+
At this point, use ```lsblk``` to confirm that the new free disk has been successfully allocated.
146
+
106
147
## Disadvantages
107
148
108
149
Networking is not auto-configured — not as smart as the previous project — you still need to configure it manually.
109
150
110
-
111
151
You need to be in the VNC of the opened VM, logged in and execute
112
152
113
153
```shell
114
-
systemctl start cloud-init
154
+
systemctl enable cloud-init
155
+
reboot
115
156
```
116
157
117
-
Enable the configuration manually.
158
+
Manually enable the configuration to self-start after reboot, then reboot the server and you have internet.
0 commit comments