Blame view

image.sh 508 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
10
11
12
13
14
15
16
17
18
19
20
          ;;
      "list")
          #Si on veut lister les images (qu'on a apellé le script ./balaine.sh image list)
          bash list_images.sh "$@"
          ;;
      "import")
          bash import_container.sh "$@"
          ;;
      "export")
          bash export_container.sh "$@"
                 ;;
      "remove")
          bash remove_image.sh "$@"
  esac