mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 22:46:58 +02:00
Also fixed get latest image logic in image_to_vm and allowed for using the most recent image in cros_run_vm_test to follow other shell convention of using latest. Change-Id: I60ed4c03d609500da7f6ae34ef57ba2e32f4b0bb BUG= TEST=Tested by running image_to_vm with --full and cros_run_vm_test with suite_Smoke Review URL: http://codereview.chromium.org/3597001
16 lines
506 B
Bash
16 lines
506 B
Bash
# Copyright (c) 2010 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.
|
|
|
|
# Common constants for vm scripts.
|
|
|
|
# Default values for creating VM's.
|
|
DEFAULT_MEM="1024"
|
|
DEFAULT_VMDK="ide.vmdk"
|
|
DEFAULT_VMX="chromiumos.vmx"
|
|
DEFAULT_VBOX_DISK="os.vdi"
|
|
DEFAULT_QEMU_IMAGE="chromiumos_qemu_image.bin"
|
|
|
|
# Minimum sizes for full size vm images -- needed for update.
|
|
MIN_VDISK_SIZE_FULL=6072
|
|
MIN_STATEFUL_FS_SIZE_FULL=2048 |