diff --git a/templates/WordPress_2_Instances_With_EBS.template b/templates/WordPress_2_Instances_With_EBS.template index 71d6e150b4..3a7259d531 100644 --- a/templates/WordPress_2_Instances_With_EBS.template +++ b/templates/WordPress_2_Instances_With_EBS.template @@ -131,8 +131,8 @@ "# Wait for the volume to appear\n", "while [ ! -e /dev/vdc ]; do echo Waiting for volume to attach; sleep 1; done\n", - "parted /dev/vdc mklabel msdos\n", - "parted /dev/vdc mkpart primary ext3 1 1000\n", + "parted -s /dev/vdc mklabel msdos\n", + "parted -s /dev/vdc mkpart primary ext3 1 1000\n", "# Format the EBS volume and mount it\n", "systemctl stop mysqld.service\n", "sleep 1\n", diff --git a/templates/WordPress_2_Instances_With_EBS_EIP.template b/templates/WordPress_2_Instances_With_EBS_EIP.template index fb668888ed..a7fac58ab7 100644 --- a/templates/WordPress_2_Instances_With_EBS_EIP.template +++ b/templates/WordPress_2_Instances_With_EBS_EIP.template @@ -167,8 +167,8 @@ "# Wait for the volume to appear\n", "while [ ! -e /dev/vdc ]; do echo Waiting for volume to attach; sleep 1; done\n", - "parted /dev/vdc mklabel msdos\n", - "parted /dev/vdc mkpart primary ext3 1 1000\n", + "parted -s /dev/vdc mklabel msdos\n", + "parted -s /dev/vdc mkpart primary ext3 1 1000\n", "# Format the EBS volume and mount it\n", "systemctl stop mysqld.service\n", "sleep 1\n", diff --git a/templates/WordPress_Single_Instance_With_EBS.template b/templates/WordPress_Single_Instance_With_EBS.template index 931d41e69f..fbf35729e0 100644 --- a/templates/WordPress_Single_Instance_With_EBS.template +++ b/templates/WordPress_Single_Instance_With_EBS.template @@ -134,8 +134,8 @@ "# Wait for the volume to appear\n", "while [ ! -e /dev/vdc ]; do echo Waiting for volume to attach; sleep 1; done\n", - "parted /dev/vdc mklabel msdos\n", - "parted /dev/vdc mkpart primary ext3 1 1000\n", + "parted -s /dev/vdc mklabel msdos\n", + "parted -s /dev/vdc mkpart primary ext3 1 1000\n", "# Format the EBS volume and mount it\n", "systemctl stop mysqld.service\n", "sleep 1\n", diff --git a/templates/WordPress_Single_Instance_With_EBS_EIP.template b/templates/WordPress_Single_Instance_With_EBS_EIP.template index 549fafb222..6d38cc2dc8 100644 --- a/templates/WordPress_Single_Instance_With_EBS_EIP.template +++ b/templates/WordPress_Single_Instance_With_EBS_EIP.template @@ -158,8 +158,8 @@ "/opt/aws/bin/cfn-init\n", "# Wait for the volume to appear\n", "while [ ! -e /dev/vdc ]; do echo Waiting for volume to attach; sleep 1; done\n", - "parted /dev/vdc mklabel msdos\n", - "parted /dev/vdc mkpart primary ext3 1 1000\n", + "parted -s /dev/vdc mklabel msdos\n", + "parted -s /dev/vdc mkpart primary ext3 1 1000\n", "# Format the EBS volume and mount it\n", "systemctl stop mysqld.service\n", "sleep 1\n",