Skip to content

Commit 0f1f37a

Browse files
authored
Merge pull request #84522 from linuxelf001/patch-7
Update redhat-create-upload-vhd.md
2 parents 4b46440 + 38fe45a commit 0f1f37a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/virtual-machines/linux/redhat-create-upload-vhd.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ This section assumes that you have already obtained an ISO file from the Red Hat
9696
1. Modify the kernel boot line in your grub configuration to include additional kernel parameters for Azure. To do this modification, open `/boot/grub/menu.lst` in a text editor, and ensure that the default kernel includes the following parameters:
9797

9898
```config-grub
99-
console=ttyS0 earlyprintk=ttyS0 rootdelay=300
99+
console=ttyS0 earlyprintk=ttyS0
100100
```
101101

102102
This will also ensure that all console messages are sent to the first serial port, which can assist Azure support with debugging issues.
@@ -202,7 +202,7 @@ This section assumes that you have already obtained an ISO file from the Red Hat
202202

203203
204204
```config-grub
205-
GRUB_CMDLINE_LINUX="rootdelay=300 console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0,115200 earlyprintk=ttyS0 net.ifnames=0"
205+
GRUB_CMDLINE_LINUX="console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0,115200 earlyprintk=ttyS0 net.ifnames=0"
206206
GRUB_TERMINAL_OUTPUT="serial console"
207207
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
208208
```
@@ -393,7 +393,7 @@ This section assumes that you have already obtained an ISO file from the Red Hat
393393
1. Edit `/etc/default/grub` in a text editor, and add the following paramters:
394394

395395
```config-grub
396-
GRUB_CMDLINE_LINUX="rootdelay=300 console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0,115200 earlyprintk=ttyS0 net.ifnames=0"
396+
GRUB_CMDLINE_LINUX="console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0,115200 earlyprintk=ttyS0 net.ifnames=0"
397397
GRUB_TERMINAL_OUTPUT="serial console"
398398
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
399399
```
@@ -621,7 +621,7 @@ This section shows you how to use KVM to prepare a [RHEL 6](#rhel-6-using-kvm) o
621621
1. Modify the kernel boot line in your grub configuration to include additional kernel parameters for Azure. To do this configuration, open `/boot/grub/menu.lst` in a text editor, and ensure that the default kernel includes the following parameters:
622622

623623
```config-grub
624-
console=ttyS0 earlyprintk=ttyS0 rootdelay=300
624+
console=ttyS0 earlyprintk=ttyS0
625625
```
626626

627627
This will also ensure that all console messages are sent to the first serial port, which can assist Azure support with debugging issues.
@@ -816,7 +816,7 @@ This section shows you how to use KVM to prepare a [RHEL 6](#rhel-6-using-kvm) o
816816
1. Modify the kernel boot line in your grub configuration to include additional kernel parameters for Azure. To do this configuration, open `/etc/default/grub` in a text editor, and edit the `GRUB_CMDLINE_LINUX` parameter. For example:
817817

818818
```config-grub
819-
GRUB_CMDLINE_LINUX="rootdelay=300 console=ttyS0 earlyprintk=ttyS0 net.ifnames=0"
819+
GRUB_CMDLINE_LINUX="console=ttyS0 earlyprintk=ttyS0 net.ifnames=0"
820820
```
821821

822822
This command also ensures that all console messages are sent to the first serial port, which can assist Azure support with debugging issues. The command also turns off the new RHEL 7 naming conventions for NICs. In addition, we recommend that you remove the following parameters:
@@ -1007,7 +1007,7 @@ This section assumes that you have already installed a RHEL virtual machine in V
10071007
1. Modify the kernel boot line in your grub configuration to include additional kernel parameters for Azure. To do this, open `/etc/default/grub` in a text editor, and edit the `GRUB_CMDLINE_LINUX` parameter. For example:
10081008

10091009
```config-grub
1010-
GRUB_CMDLINE_LINUX="rootdelay=300 console=ttyS0 earlyprintk=ttyS0"
1010+
GRUB_CMDLINE_LINUX="console=ttyS0 earlyprintk=ttyS0"
10111011
```
10121012

10131013
This will also ensure that all console messages are sent to the first serial port, which can assist Azure support with debugging issues. In addition, we recommend that you remove the following parameters:
@@ -1153,7 +1153,7 @@ This section assumes that you have already installed a RHEL virtual machine in V
11531153
1. Modify the kernel boot line in your grub configuration to include additional kernel parameters for Azure. To do this modification, open `/etc/default/grub` in a text editor, and edit the `GRUB_CMDLINE_LINUX` parameter. For example:
11541154

11551155
```config-grub
1156-
GRUB_CMDLINE_LINUX="rootdelay=300 console=ttyS0 earlyprintk=ttyS0 net.ifnames=0"
1156+
GRUB_CMDLINE_LINUX="console=ttyS0 earlyprintk=ttyS0 net.ifnames=0"
11571157
```
11581158

11591159
This configuration also ensures that all console messages are sent to the first serial port, which can assist Azure support with debugging issues. It also turns off the new RHEL 7 naming conventions for NICs. In addition, we recommend that you remove the following parameters:
@@ -1396,7 +1396,7 @@ This section shows you how to prepare a RHEL 7 distro from an ISO using a kickst
13961396
EOF
13971397

13981398
# Set the cmdline
1399-
sed -i 's/^\(GRUB_CMDLINE_LINUX\)=".*"$/\1="console=tty1 console=ttyS0 earlyprintk=ttyS0 rootdelay=300"/g' /etc/default/grub
1399+
sed -i 's/^\(GRUB_CMDLINE_LINUX\)=".*"$/\1="console=tty1 console=ttyS0 earlyprintk=ttyS0"/g' /etc/default/grub
14001400

14011401
# Enable SSH keepalive
14021402
sed -i 's/^#\(ClientAliveInterval\).*$/\1 180/g' /etc/ssh/sshd_config

0 commit comments

Comments
 (0)