mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 13:36:58 +02:00
13 lines
492 B
Bash
Executable File
13 lines
492 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
#
|
|
# Changes the channel of the image for test builds so that it will be
|
|
# identified as a test image to Omaha which will not give any updates.
|
|
|
|
echo "Modifying Release Track for Test (testimage-channel)."
|
|
FILE="${ROOT_FS_DIR}/etc/lsb-release"
|
|
sed -i 's/^\(COREOS_RELEASE_TRACK=\).*/\1testimage-channel/' $FILE
|