OpenVZ Forum


Home » International » Russian » не сохраняется interfaces
не сохраняется interfaces [message #46895] Fri, 22 June 2012 15:50 Go to previous message
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 

как отключить автогенерацию ?
 
Read Message
Read Message
Previous Topic: Проблемы с ubuntu-12.04
Next Topic: CPUUNITS действует для всего контейнера или для одного ядр
Goto Forum:
  


Current Time: Wed Oct 02 19:47:47 GMT 2024

Total time taken to generate the page: 0.05023 seconds