OpenVZ Forum


Home » International » Russian » не сохраняется interfaces (не сохраняется interfaces)
не сохраняется interfaces [message #46893] Fri, 22 June 2012 11:22
morgan-id is currently offline  morgan-id
Messages: 2
Registered: June 2012
Junior Member
подскажите как решить проблему, правлю файл /etc/network/interfaces
пперегружаю сервер reboot и все что прописывал в этот файл все потерлось и сконфигурировалось все заново до начала редактирования
стоит debian 6
как убрать из авто генерации файл interfaces ?

в файле interfaces написано следующее
# This configuration file is auto-generated.
#
# WARNING: Do not edit this file, your changes will be lost.
# Please create/edit /etc/network/interfaces.head and
# /etc/network/interfaces.tail instead, their contents will be
# inserted at the beginning and at the end of this file, respectively.
#
# NOTE: it is NOT guaranteed that the contents of /etc/network/interfaces.tail
# will be at the very end of this file.
#

# Auto generated lo interface
auto lo
iface lo inet loopback

# Auto generated venet0 interface
auto venet0
iface venet0 inet manual
    up ifconfig venet0 up
    up ifconfig venet0 x.x.x.x
    up route add default dev venet0
    down route del default dev venet0
    down ifconfig venet0 down


iface venet0 inet6 manual
    up route -A inet6 add default dev venet0
    down route -A inet6 del default dev venet0

auto venet0:0
iface venet0:0 inet static
    address x.x.x.x
    netmask x.x.x.x

как отключить автогенерацию ?
Previous Topic: Rhel6 ядро на Centos 5
Next Topic: vzquota on -r
Goto Forum:
  


Current Time: Fri May 03 06:52:46 GMT 2024

Total time taken to generate the page: 0.01746 seconds