nova-compute revision 4049
98N/A#!/usr/bin/python2.7
98N/A
1339N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
98N/A#
98N/A# Licensed under the Apache License, Version 2.0 (the "License"); you may
919N/A# not use this file except in compliance with the License. You may obtain
919N/A# a copy of the License at
919N/A#
919N/A# http://www.apache.org/licenses/LICENSE-2.0
919N/A#
919N/A# Unless required by applicable law or agreed to in writing, software
919N/A# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
919N/A# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
919N/A# License for the specific language governing permissions and limitations
919N/A# under the License.
919N/A
919N/Aimport os
919N/A
919N/Aimport smf_include
919N/A
919N/A
919N/Adef start():
98N/A smf_include.smf_subprocess("/usr/bin/pfexec /usr/lib/nova/nova-compute")
98N/A
98N/Aif __name__ == "__main__":
98N/A os.putenv("LC_ALL", "C")
493N/A smf_include.smf_main()
98N/A