

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 如何更新 IMDSv1 組態的範例
<a name="custom-bootstrap-actions-example-imdsv1-v3"></a>

以下是使用 AWS ParallelCluster 3.7.0 及更舊版本時支援 IMDSv1 的叢集組態範例。

```
Region: {{us-east-1}}
Imds:
  ImdsSupport: v1.0
Image:
  Os: {{alinux2}}
HeadNode:
  InstanceType: {{t2.micro}}
  Networking:
    SubnetId: {{subnet-abcdef01234567890}}
  Ssh:
    KeyName: {{key-name}}
  CustomActions:
    OnNodeConfigured:
      Script: {{Script-path}}
Scheduling:
  Scheduler: slurm
  SlurmQueues:
  - Name: {{queue1}}
    CustomActions:
      OnNodeConfigured:
        Script: {{Script-path}}
    ComputeResources:
    - Name: {{t2micro}}
      Instances:
      - InstanceType: {{t2.micro}}
      MinCount: {{1}}1
    Networking:
      SubnetIds:
      - {{subnet-abcdef01234567890}}
```