46 lines
1.2 KiB
Text
46 lines
1.2 KiB
Text
--- usr/share/google/onboot.orig 2014-12-24 22:40:30 UTC
|
|
+++ usr/share/google/onboot
|
|
@@ -33,7 +33,7 @@ else
|
|
declare -r LOGGER=/bin/logger
|
|
fi
|
|
|
|
-declare -r BOTO_SETUP_SCRIPT=/usr/share/google/boto/boot_setup.py
|
|
+declare -r BOTO_SETUP_SCRIPT=%%PREFIX%%/share/google/boto/boot_setup.py
|
|
declare -r GOOGLE_ENVIRONMENT=/var/run/google.environment
|
|
|
|
function log() {
|
|
@@ -42,20 +42,20 @@ function log() {
|
|
}
|
|
|
|
function virtionet_irq_affinity() {
|
|
- if [[ -x /usr/share/google/virtionet-irq-affinity ]]; then
|
|
- /usr/share/google/virtionet-irq-affinity
|
|
+ if [[ -x %%PREFIX%%/share/google/virtionet-irq-affinity ]]; then
|
|
+ %%PREFIX%%/share/google/virtionet-irq-affinity
|
|
fi
|
|
}
|
|
|
|
function first_boot() {
|
|
- if [[ -x /usr/share/google/first-boot ]]; then
|
|
- /usr/share/google/first-boot
|
|
+ if [[ -x %%PREFIX%%/share/google/first-boot ]]; then
|
|
+ %%PREFIX%%/share/google/first-boot
|
|
fi
|
|
}
|
|
|
|
function get_metadata_value() {
|
|
local readonly varname=$1
|
|
- /usr/share/google/get_metadata_value ${varname}
|
|
+ %%PREFIX%%/share/google/get_metadata_value ${varname}
|
|
return $?
|
|
}
|
|
|
|
@@ -106,7 +106,7 @@ function print_ssh_key_fingerprints() {
|
|
return 0
|
|
}
|
|
|
|
-virtionet_irq_affinity
|
|
+#virtionet_irq_affinity
|
|
first_boot
|
|
do_init
|
|
print_ssh_key_fingerprints
|