Skip to content

Commit fa84164

Browse files
committed
Remove redundant lines
The disk format and swap are covered by kickstart line 1362 and 1363 Leaving them inplace caused errors parsing the kickstart file.
1 parent 8bf937f commit fa84164

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,10 +1371,6 @@ This section shows you how to prepare a RHEL 7 distro from an ISO using a kickst
13711371
# Disable the root account
13721372
usermod root -p '!!'
13731373

1374-
# Disabke swap in WALinuxAgent
1375-
ResourceDisk.Format=n
1376-
ResourceDisk.EnableSwap=n
1377-
13781374
# Configure swap using cloud-init
13791375
echo 'DefaultEnvironment="CLOUD_CFG=/etc/cloud/cloud.cfg.d/00-azure-swap.cfg"' >> /etc/systemd/system.conf
13801376
cat > /etc/cloud/cloud.cfg.d/00-azure-swap.cfg << EOF

0 commit comments

Comments
 (0)