mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 06:01:41 +02:00
*: don't hardcode path to bash
Bash isn't always at this location. These scripts in particular are being updated because they are called from outside of the SDK.
This commit is contained in:
parent
89fb15ae08
commit
d8ea06c5c5
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Copyright (c) 2013 The CoreOS Authors. All rights reserved.
|
# Copyright (c) 2013 The CoreOS Authors. All rights reserved.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Use of this source code is governed by a BSD-style license that can be
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Copyright (c) 2014 CoreOS, Inc. All rights reserved.
|
# Copyright (c) 2014 CoreOS, Inc. All rights reserved.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Use of this source code is governed by a BSD-style license that can be
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# This script will copy the Azure image from the CoreOS build bucket into
|
# This script will copy the Azure image from the CoreOS build bucket into
|
||||||
# Azure storage, create an Azure VM image, and replicate it to all regions. It
|
# Azure storage, create an Azure VM image, and replicate it to all regions. It
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# This script will replicate the given image into all Azure regions. It needs
|
# This script will replicate the given image into all Azure regions. It needs
|
||||||
# to be run in an environment where the azure-xplat-cli has been installed and
|
# to be run in an environment where the azure-xplat-cli has been installed and
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# This script will set the icon, recommended VM size, and optionally the
|
# This script will set the icon, recommended VM size, and optionally the
|
||||||
# publication date for the specified OS image to the CoreOS logo. It needs to
|
# publication date for the specified OS image to the CoreOS logo. It needs to
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# This script will replicate the given image into all Azure regions. It needs
|
# This script will replicate the given image into all Azure regions. It needs
|
||||||
# to be run in an environment where the azure-xplat-cli has been installed and
|
# to be run in an environment where the azure-xplat-cli has been installed and
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# This script will un-replicate the given image. It needs to be run in an
|
# This script will un-replicate the given image. It needs to be run in an
|
||||||
# environment where the azure-xplat-cli has been installed and configured with
|
# environment where the azure-xplat-cli has been installed and configured with
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# This script will update the Azure Gallery repo with the specified group and
|
# This script will update the Azure Gallery repo with the specified group and
|
||||||
# version.
|
# version.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
BOARD="$1"
|
BOARD="$1"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
KEY="$1"
|
KEY="$1"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# If there is no default printer use ./print_key.sh prod-2 -d printer_name
|
# If there is no default printer use ./print_key.sh prod-2 -d printer_name
|
||||||
# List available printers with lpstat -a
|
# List available printers with lpstat -a
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
DATA_DIR="$(readlink -f "$1")"
|
DATA_DIR="$(readlink -f "$1")"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user