You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: appliance.rb
    path of file: ./repos/manageiq/lib/vmdb
    
    the code of the file until where you have to start completion: require 'linux_admin'


    
    def self.get_build
      build_file = Rails.root.join("BUILD").to_s

      if File.exist?(build_file)
        build = File.read(build_file).strip.split("-").last
      else
        sha   = `git rev-parse --short HEAD`.chomp
        build = "unknown_#{sha}"
      end