Blame view

image.sh 524 Bytes
3e470988   hmalti   First commit
1
2
  #!/bin/bash
  
5161dfdb   hmalti   Améliorations scr...
3
  case $1 in
3e470988   hmalti   First commit
4
5
      "create")
          #Si on veut creer une image (qu'on a apellé le script ./balaine.sh image create)
5161dfdb   hmalti   Améliorations scr...
6
          bash create_image.sh "${@:2}"
3e470988   hmalti   First commit
7
8
9
          ;;
      "list")
          #Si on veut lister les images (qu'on a apellé le script ./balaine.sh image list)
5721892d   hmalti   Avancées
10
          bash list_images.sh "${@:2}"
3e470988   hmalti   First commit
11
12
          ;;
      "import")
5721892d   hmalti   Avancées
13
          bash import_container.sh "${@:2}"
3e470988   hmalti   First commit
14
15
          ;;
      "export")
5721892d   hmalti   Avancées
16
          bash export_container.sh "${@:2}"
3e470988   hmalti   First commit
17
18
                 ;;
      "remove")
5721892d   hmalti   Avancées
19
          bash remove_image.sh "${@:2}"
3e470988   hmalti   First commit
20
  esac