13 lines
391 B
Bash
Executable File
13 lines
391 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Script pour ajouter les champs personnalisés manquants à une machine existante
|
|
|
|
MACHINE_ID="cmdn9ifhw0004ijrv0kqjzjyd"
|
|
|
|
echo "Ajout des champs personnalisés manquants pour la machine $MACHINE_ID..."
|
|
|
|
curl -X POST "http://localhost:3000/api/machines/$MACHINE_ID/add-custom-fields" \
|
|
-H "Content-Type: application/json" \
|
|
-w "\nStatus: %{http_code}\n"
|
|
|
|
echo "Terminé !" |