From cd8a1b9d1544bc5e9240b20efff282d110907c1f Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Thu, 31 Aug 2023 04:06:09 +0200 Subject: [PATCH] Update cloud-init script --- clickhouse/cloud-init.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/clickhouse/cloud-init.sh b/clickhouse/cloud-init.sh index 9ceca10fe..7da426252 100644 --- a/clickhouse/cloud-init.sh +++ b/clickhouse/cloud-init.sh @@ -1,12 +1,13 @@ #!/bin/bash # This is the script for cloud-init, to run on a VM in unattended fashion. Example: -# -# aws ec2 run-instances --count 1 --image-id ami-0d1ddd83282187d18 --instance-type c6a.4xlarge \ -# --block-device-mappings 'DeviceName=/dev/sda1,Ebs={DeleteOnTermination=true,VolumeSize=500,VolumeType=gp2}' \ -# --key-name milovidov --security-group-ids sg-013790293e9640422 --instance-initiated-shutdown-behavior terminate \ -# --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=clickbench}]' -# --user-data file://cloud-init.sh +<