Class: OsCtld::DistConfig::Unsupported

Inherits:
Base
  • Object
show all
Includes:
OsCtl::Lib::Utils::Log
Defined in:
lib/osctld/dist_config/unsupported.rb

Instance Attribute Summary

Attributes inherited from Base

#ct, #distribution, #version

Instance Method Summary collapse

Methods inherited from Base

#add_netif, #bin_path, distribution, #dns_resolvers, #initialize, #passwd, #remove_netif, #rename_netif, #update_etc_hosts, #writable?

Methods included from Utils::SwitchUser

#ct_attach, #ct_syscmd

Constructor Details

This class inherits a constructor from OsCtld::DistConfig::Base

Instance Method Details

#network(opts) ⇒ Object



18
19
20
21
22
23
24
# File 'lib/osctld/dist_config/unsupported.rb', line 18

def network(opts)
  log(
    :warn,
    ct,
    "Unable to configure network: #{ct.distribution} not supported"
  )
end

#set_hostname(opts) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/osctld/dist_config/unsupported.rb', line 10

def set_hostname(opts)
  log(
    :warn,
    ct,
    "Unable to set hostname: #{ct.distribution} not supported"
  )
end