From c8360bc66c968bf0158f0b7744493ab781d480a5 Mon Sep 17 00:00:00 2001 From: outscale-rce Date: Wed, 31 Jul 2024 14:46:48 +0000 Subject: [PATCH] adding sed for net_peering --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 76ca14478..ff20225cb 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,9 @@ sed -i 's/outscale_volumes_link/outscale_volume_link/g' terraform.tfstate sed -i '/"link_public_ip": {/, /},/d' terraform.tfstate sed -i '/"link_nic": {/, /},/d' terraform.tfstate sed -i '/"flexible_gpu_id": "/, /",/d' terraform.tfstate +sed -i '/"accepter_net": {/, /},/d' terraform.tfstate +sed -i '/"source_net": {/, /},/d' terraform.tfstate +sed -i '/"state": {/, /},/d' terraform.tfstate sed -i 's/outscale_volumes_link/outscale_volume_link/g' *.tf sed -i 's/flexible_gpu_id /flexible_gpu_ids /g' *.tf sed -i '/flexible_gpu_ids /s/= /= \[/' *.tf @@ -75,6 +78,9 @@ sed -i='' 's/outscale_volumes_link/outscale_volume_link/g' terraform.tfstate sed -i='' '/"link_public_ip": {/, /},/d' terraform.tfstate sed -i='' '/"link_nic": {/, /},/d' terraform.tfstate sed -i='' '/"flexible_gpu_id": "/, /",/d' terraform.tfstate +sed -i='' '/"accepter_net": {/, /},/d' terraform.tfstate +sed -i='' '/"source_net": {/, /},/d' terraform.tfstate +sed -i='' '/"state": {/, /},/d' terraform.tfstate sed -i='' 's/outscale_volumes_link/outscale_volume_link/g' *.tf sed -i='' 's/flexible_gpu_id /flexible_gpu_ids /g' *.tf sed -i='' '/flexible_gpu_ids /s/= /= \[/' *.tf